CVE-2026-126991

Source
https://cve.org/CVERecord?id=CVE-2026-126991
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126991.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-126991
Published
2026-11-12T07:33:51Z
Modified
2026-11-14T02:47:31Z
Severity
  • 5.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
SPARQL Injection in MISP Wikidata Lookup Module via Unescaped User Input
Details

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.

Database specific
{
    "cna_assigner": "CIRCL",
    "cwe_ids": [
        "CWE-209",
        "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126991.json"
}
References

Affected packages

Git / github.com/misp/misp-modules

Affected ranges

Type
GIT
Repo
https://github.com/misp/misp-modules
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "last_affected": "3.1.4"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "SplitRange"
        },
        {
            "range": [
                {
                    "fixed": "7a2a7e3d9e0f67f6732bd8050ab7da79e7b344d9"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v2.*
v2.4.110
v2.4.113
v2.4.116
v2.4.118
v2.4.119
v2.4.120
v2.4.121
v2.4.134
v2.4.136
v2.4.137
v2.4.141
v2.4.142
v2.4.143
v2.4.144
v2.4.145
v2.4.147
v2.4.148
v2.4.150
v2.4.151
v2.4.153
v2.4.154
v2.4.156
v2.4.157
v2.4.159
v2.4.160
v2.4.162
v2.4.163
v2.4.171
v2.4.172
v3.*
v3.0.10
v3.0.11
v3.0.12
v3.0.13
v3.0.8
v3.0.9
v3.1.0
v3.1.1
v3.1.2
v3.1.3
v3.1.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126991.json"