CVE-2026-126991
Last modified
CVE-2026-126991 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. The Wikidata Lookup expansion module (wiki.py) in MISP misp-modules contained a SPARQL injection vulnerability. The handler function constructed a SPARQL query by directly concatenating the user-supplied text value into the query string without any escaping or parameterization: 'SELECT ?item WHERE { ?item rdfs:label"' + request.get("text") + '" @en }'.
Description
The Wikidata Lookup expansion module (wiki.py) in MISP misp-modules contained a SPARQL injection vulnerability. The handler function constructed a SPARQL query by directly concatenating the user-supplied text value into the query string without any escaping or parameterization: 'SELECT ?item WHERE { ?item rdfs:label"' + request.get("text") + '" @en }'. An authenticated MISP user with access to the module could supply a crafted text attribute value containing SPARQL syntax (quotes, closing braces, UNION, SERVICE, LIMIT, etc.) to alter the structure of the query sent to the Wikidata SPARQL endpoint. This could allow an attacker to modify the query logic, extract unintended data, or cause the query to fail in ways that expose internal error details. Additionally, the old error handling path formatted raw exception objects into the response string ('wikidata API not accessible {}'.format(e)), potentially leaking internal information such as proxy credentials, query contents, or response bodies. The module also used a spoofed browser user-agent string and the deprecated Wikidata endpoint. The vulnerability required authenticated access to the MISP instance and the ability to invoke the wiki expansion module with a text attribute. The impact is limited to manipulation of the enrichment query and potential disclosure of internal error details; it does not directly compromise the MISP server or its stored data.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-126991?
How severe is CVE-2026-126991?
How do I fix CVE-2026-126991?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12695The miniOrange 2FA WordPress plugin before 6.2.6 does not v…8.1
- CVE-2026-126957An integer underflow in Zephyr's IPv4 option handling allows…5.3
- CVE-2026-12696The wpForo Forum WordPress plugin before 3.1.2 does not sani…5.4
- CVE-2026-12697The wpForo Forum WordPress plugin before 3.1.2 does not veri…5.4
- CVE-2026-12698The wpForo Forum WordPress plugin before 3.1.3 does not rest…4.3
- CVE-2026-126982A type allow-list bypass in the BSON serialization library o…7.5
- CVE-2026-126993A security flaw has been discovered in SiteServer SSCMS up t…5.3
- CVE-2026-126994A vulnerability has been found in braindecode up to 1.8.1. A…6.3
- CVE-2026-126995A vulnerability was found in tjake Jlama up to 0.8.4/0.9.0-b…6.3
- CVE-2026-126996A vulnerability was determined in SakanaAI text-to-LoRA 0.0.…6.3
- CVE-2026-126997A vulnerability was identified in JeecgBoot up to 3.9.6. Thi…7.3
- CVE-2026-126998A security flaw has been discovered in JeecgBoot up to 3.9.5…7.3
Are you affected by CVE-2026-126991?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
