Skip to main content

MISP misp-modules EUVDEUVD-2026-124326

| CVE-2026-126991 MEDIUM
Code Injection (CWE-94)
2026-11-12 CIRCL GHSA-2w5p-72rc-qq3c
5.3
CVSS 4.0 · Vendor: CIRCL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to MISP with module access
  2. Delivery
    Submit crafted text attribute with SPARQL metacharacters
  3. Exploit
    Injected clauses alter outbound Wikidata query
  4. Execution
    Trigger error to leak raw exception details
  5. Impact
    Disclose internal query/proxy information

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated MISP account with permission to invoke the Wikidata Lookup ('wiki') expansion/hover module and submit a text attribute (PR:L). The flaw is reachable only through that specific module's handler, which builds the SPARQL query by direct string concatenation of the user-supplied text value; any MISP deployment that has the wiki enrichment module enabled is exposed. Limiting factors: exploitation is gated behind authentication and module access, the injection targets the external Wikidata SPARQL endpoint rather than MISP internals, and the most sensitive outcome (leaking proxy credentials/query contents) depends on the old raw-exception error-handling path being present. No special non-default product configuration beyond enabling the module is described.

Impact

This is a moderate, narrowly-scoped issue rather than a top-tier priority. The official CVSS:4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) and the 5.3 base score describe a network-reachable but authenticated (PR:L) flaw with no attack requirements, and the impact metrics confirm its limited nature: VI:L (integrity-low, the attacker can alter the structure of the outbound SPARQL query) with VC:N/VA:N and no subsequent-system impact. The description itself bounds the damage - 'it does not directly compromise the MISP server or its stored data' - which contradicts the 'RCE' tag and the CWE-94 'Code Injection' framing; the real primitive is injection into a query sent to an external Wikidata endpoint plus error-detail leakage, not code execution on MISP. Signals are largely consistent and point to low urgency: no EPSS score was provided, there is no CISA KEV listing, and no public exploit is referenced (PR #869 is the fix, not a PoC). The vuln.today decision label is 'this_month', which aligns with a patch-available, non-emergency finding. The one discrepancy worth verifying is confidentiality: the vendor vector sets VC:N, yet the description says the old error path could leak proxy credentials, query contents, or response bodies - that is a genuine confidentiality exposure the 4.0 vector does not reflect.

Exploit ScenarioDerived

An authenticated MISP user who can invoke the Wikidata ('wiki') expansion module submits a text attribute whose value embeds SPARQL syntax (e.g. a closing quote/brace followed by UNION, SERVICE, or LIMIT), restructuring the query that MISP sends to the Wikidata SPARQL endpoint. By forcing the request to fail, the attacker also elicits a raw exception that the legacy error path formats into the response, potentially revealing proxy credentials or internal query/response contents. No public exploit code is referenced, and the attack is confined to the enrichment query and error output rather than the MISP host.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 12, 2026

A SPARQL injection in the Wikidata Lookup ('wiki') expansion module of misp-modules lets an authenticated MISP user with permission to invoke that module alter the query sent to the external Wikidata SPARQL endpoint by embedding quotes, braces, UNION or SERVICE clauses in a text attribute value. The same code path also formatted raw exception objects into the response, which could disclose internal details such as proxy credentials, query contents or upstream response bodies, and the module additionally used a spoofed browser user-agent against a deprecated Wikidata endpoint. Impact is limited to manipulation of the enrichment query and possible information disclosure from error messages rather than compromise of the MISP server or its stored data; there is no confirmed active exploitation (no CISA KEV listing) and no public exploit identified at time of analysis.

RemediationAI

Update misp-modules to a build that includes commit 7a2a7e3d9e0f67f6732bd8050ab7da79e7b344d9 (PR https://github.com/MISP/misp-modules/pull/869); patch availability is confirmed by the vendor, but the fix is distributed as a repository commit and the first tagged release containing it is not confirmed in the available data, so verify the deployed commit or image digest rather than assuming a version number. The fixed module escapes user text as a SPARQL string literal, validates the language tag and numeric configuration, bounds max_results (1-25, default 5) and timeout (1-60 seconds, default 15), and returns generic error dictionaries that no longer expose upstream exception objects - the last change is what removes the proxy-credential and query-content disclosure path, so partial patching that only adds escaping leaves the error-handling exposure in place. Where immediate upgrade is not possible, the practical compensating control is to disable the Wikidata Lookup ('wiki') expansion module in the misp-modules configuration and remove it from the MISP enrichment module list; the trade-off is loss of Wikidata annotation enrichment for text attributes. Because the flaw is gated behind an authenticated MISP account with module-invocation rights, additionally restricting which roles can run expansion modules reduces exposure, at the cost of limiting enrichment workflows for those users. There is no indication in the sources that network-level blocking of the Wikidata endpoint is required or recommended, since the injected query targets that external service rather than MISP internals.

Affected VersionsENISA

misp-modules unspecified ≤3.1.4

Affected Packages

euvd misp_modules_unspecified no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the wiki.py handler in misp-modules, the Python module server that provides expansion and hover enrichment to MISP. The handler built its query by direct string concatenation of the user-supplied text value into a SPARQL statement ('SELECT ?item WHERE { ?item rdfs:label"' + request.get("text") + '" @en }') and submitted it via the SPARQLWrapper library to the Wikidata Query Service. Concatenating untrusted text into a query language is the classic CWE-94 code-injection pattern: the interpreter of the query language, not the application, decides where the attacker's data ends and the query logic begins, so crafted SPARQL syntax can restructure the request. Because the query executes against a third-party endpoint rather than against MISP itself, the practical ceiling is query-logic manipulation, unintended data retrieval and negative or malformed results; the deprecated endpoint and spoofed user-agent are hygiene issues in the same code. A second defect sat in the error path, where exception objects were interpolated into the response string ('wikidata API not accessible {}'.format(e)), turning upstream failures into an information-disclosure channel whose severity depends on what the exception object carries - proxy credentials and query/response content are the plausible payloads named in the sources. The upstream fix (PR #869, commit 7a2a7e3d9e0f67f6732bd8050ab7da79e7b344d9) rewrites the module to escape user text as a SPARQL string literal including backslashes, quotes and control characters, validates the language tag and numeric configuration before building the query, bounds results and timeout, and returns generic error dictionaries without upstream exception details.

Know when Misp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CIRCL) PRIMARY 5.3 MEDIUM
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
vuln.today AI 5.4 MEDIUM

Authenticated module user (PR:L) injects over the network (AV:N/AC:L); integrity-low for query manipulation, confidentiality-low for leaked internal error/credential details, no availability impact to MISP itself.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (CIRCL).

CVSS VectorVendor: CIRCL

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Medium
widely-used open-source threat-intel platform, but security-team deployments only
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

More in Misp

View all
CVE-2018-19908 HIGH POC
8.8 Dec 06

An issue was discovered in MISP 2.4.9x before 2.4.99. Rated high severity (CVSS 8.8), this vulnerability is remotely exp

CVE-2022-29528 CRITICAL POC
9.8 Apr 20

An issue was discovered in MISP before 2.4.158. Rated critical severity (CVSS 9.8), this vulnerability is remotely explo

CVE-2022-48328 CRITICAL POC
9.8 Feb 20

app/Controller/Component/IndexFilterComponent.php in MISP before 2.4.167 mishandles ordered_url_params and additional_de

CVE-2026-44381 CRITICAL POC
9.3 May 13

SQL injection in MISP threat intelligence platform versions prior to 2.5.37 allows remote unauthenticated attackers to m

CVE-2022-29534 HIGH POC
7.5 Apr 20

An issue was discovered in MISP before 2.4.158. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitab

CVE-2023-37306 HIGH POC
7.5 Jun 30

MISP 2.4.172 mishandles different certificate file extensions in server sync. Rated high severity (CVSS 7.5), this vulne

CVE-2021-41326 CRITICAL
9.8 Sep 17

In MISP before 2.4.148, app/Lib/Export/OpendataExport.php mishandles parameter data that is used in a shell_exec call. R

CVE-2018-12649 CRITICAL
9.8 Jun 22

An issue was discovered in app/Controller/UsersController.php in MISP 2.4.92. Rated critical severity (CVSS 9.8), this v

CVE-2020-15411 CRITICAL
9.8 Jun 30

An issue was discovered in MISP 2.4.128. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,

CVE-2020-29006 CRITICAL
9.8 Nov 24

MISP before 2.4.135 lacks an ACL check, related to app/Controller/GalaxyElementsController.php and app/Model/GalaxyEleme

CVE-2021-35502 CRITICAL
9.8 Jun 25

app/View/Elements/genericElements/IndexTable/Fields/generic_field.ctp in MISP 2.4.144 does not sanitize certain data rel

CVE-2021-39302 CRITICAL
9.8 Aug 19

MISP 2.4.148, in certain configurations, allows SQL injection via the app/Model/Log.php $conditions['org'] value. Rated

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy