Home / misp / misp-modules / CVE-2026-126991
CVE-2026-126991: is it exploited, and which versions of misp-modules are affected and fixed?
CVE-2026-126991 is a code injection (remote code execution) vulnerability in misp-modules. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: misp-modules through 3.1.4 (CVE record by CIRCL). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.3, CVSS 4.0, from CIRCL).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 28, 2026, 16:15 UTC and NVD November 19, 2026, 07:04 UTC.
What is CVE-2026-126991?
SPARQL Injection in MISP Wikidata Lookup Module via Unescaped User Input
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.
From the CVE record by CIRCL, last updated November 16, 2026, 15:03 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| misp | misp-modules | through 3.1.4 |
As the CVE record by CIRCL states it, last updated November 16, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-126991?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N | CIRCL |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-126991 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 16, 2026)
- EPSS
- 0.35% probability of exploitation activity in the next 30 days, percentile 30.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
- CWE-209 Generation of Error Message Containing Sensitive Information
How do I fix it? (from the CVE record)
The vulnerability is remediated by properly escaping user-supplied text as a SPARQL string literal using json.dumps with ensure_ascii=False, which neutralizes quotes, backslashes, newlines, and control characters. Additional hardening includes strict validation of the language tag, numeric configuration values, text length, and UUID format before query construction; validation of Wikidata response structure and entity URI format before importing results; replacement of raw exception formatting with generic error messages that do not expose upstream details; use of the modern Wikidata SPARQL endpoint with POST method; a proper MISP user-agent string; and a bounded request timeout.
Where are the vendor advisories and references?
- Security patch patch
- https://misp.github.io/misp-modules/expansion/#wikidata-lookup
- https://github.com/MISP/misp-modules/pull/869
- https://github.com/MISP/misp-modules
Who found and reported it?
- Alexandre Dulaunoy (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- November 12, 2026
- Published
- November 12, 2026, 07:33 UTC
- CVE record updated
- November 16, 2026, 15:03 UTC by CIRCL
- NVD
- Deferred, last modified November 16, 2026, 15:17 UTC
- Last checked
- CVE list November 28, 2026, 16:15 UTC; NVD November 19, 2026, 07:04 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect misp-modules?
- Nov 13, 2026CVE-2026-128637 misp-modules: open redirect
- Nov 12, 2026CVE-2026-127046 misp-modules: information disclosure
- Nov 12, 2026CVE-2026-127016 misp-modules: missing authorization
- Nov 10, 2026CVE-2026-125871 misp-modules: server-side request forgery (SSRF)
- Oct 19, 2026CVE-2026-112991 misp-modules: server-side request forgery (SSRF)
- Sep 25, 2026CVE-2026-97863 misp-modules: OS command injection
- Jul 13, 2026CVE-2026-62143 misp-modules: server-side request forgery (SSRF)
- May 13, 2026CVE-2026-44363 misp-modules: improper certificate validation
Questions about CVE-2026-126991
Is CVE-2026-126991 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.35% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of misp-modules are affected by CVE-2026-126991?
misp-modules through 3.1.4, per the CVE record by CIRCL. The tables above give every range the sources list.
Which version fixes CVE-2026-126991?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-126991?
Medium (5.3, CVSS 4.0, from CIRCL). The severity table above shows each score with its source.
Where is the official record of CVE-2026-126991?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.