Read the docs

SPARQL injection in MISP misp-modules Wikidata lookup module

Priority LOW 24CWE-209Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure, Code execution
Confidentiality · integrity · availability
None · Low · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-209 and CWE-94.

Summary

MISP misp-modules through 3.1.4 contains a SPARQL injection flaw in the Wikidata Lookup expansion module. The module concatenates the user-supplied text value directly into a SPARQL query without escaping, which allows code generation to be controlled by user input (CWE-94). An authenticated user with access to the module can supply crafted syntax to alter the query sent to the Wikidata endpoint. Error handling also returns raw exception details in responses, which can expose internal information.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00278 20th percentileScored 2026-11-16
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
MISPmisp-modulesup to 3.1.4—No fix listedCNA
  • misp-modules VendorMISP Affected up to 3.1.4 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:misp:misp-modules:*:*:*:*:*:*:*:*——MISP
  • cpe:2.3:a:misp:misp-modules:*:*:*:*:*:*:*:* Versions — — ·MISP

Remediation

The sources list no fixed version for misp-modules.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

Timeline

  1. 2026-11-12 Threatist record created from CVE-2026-126991
  2. 2026-11-12 Alias added: GHSA-2w5p-72rc-qq3c
  3. 2026-11-16 CISA SSVC decision points changed

References

  • TI-2025-41517 In MISP before 2.5.28, app/View/Elements/Workflows/executionPath.ctp allows XSS in the workflow execution path. CVSS 3.1CRITICAL 9.0
  • TI-2026-65744 MISP TOTP Code Replay Allows Duplicate Authentication Within Validity Period CVSS 4.0CRITICAL 9.3
  • TI-2026-90286 MISP Modules Website: Missing Authorization on External Tool Endpoints CVSS 4.0CRITICAL 9.2
  • TI-2026-90305 MISP Modules leaks external tool API keys to unauthenticated clients CVSS 4.0CRITICAL 9.2
  • TI-2026-54145 Path Traversal in MISP Object Template Resolution During STIX Import and Export in misp-stix library CVSS 4.0HIGH 8.8
  • TI-2020-10250 MISP MISP-maltego 1.4.4 incorrectly shares a MISP connection across users in a remote-transform use case. CVSS 3.1CRITICAL 9.8
See all 187 →

Sources