{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-126991 in the wild and no public exploit code.","exposure":"An affected version is exposed as installed. No special setting or call is needed.","fix":"No fix has been published for CVE-2026-126991 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-126991 is a medium-severity code injection vulnerability in misp-modules, published on 12 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-126991 and fix it if it is affected.\n\nWhat it is: CVE-2026-126991 is a medium-severity code injection vulnerability in misp-modules, published on 12 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-126991 in the wild and no public exploit code.\nExposure: An affected version is exposed as installed. No special setting or call is needed.\n\nAffected product: misp-modules. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-126991/ (Markdown: https://insights.sbomify.com/CVE-2026-126991/index.md)","id":"CVE-2026-126991","markdown":"https://insights.sbomify.com/CVE-2026-126991/index.md","name":"CVE-2026-126991","record":{"aliases":["GHSA-2w5p-72rc-qq3c"],"analysis":{"component_type":"web_application","exploitable_when_present":false,"fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"threat intelligence module","requires_auth":"low_privilege","requires_specific_call":false,"summary":"Authenticated MISP users can inject SPARQL via the Wikidata Lookup module to alter queries and leak internal error details.","user_interaction":"not_required","vuln_class":"code_injection","vulnerable_functions":[]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"CIRCL","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"SPARQL Injection in MISP Wikidata Lookup Module via Unescaped User Input","id":"CVE-2026-126991","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":0,"n_references":4,"next":{"headline":"SiteServer SSCMS captcha inadequate encryption","id":"CVE-2026-126993"},"nickname":null,"packages":[],"prev":{"headline":"Remote code execution via generic-type allow-list bypass in BSON object deserialization","id":"CVE-2026-126982"},"products":["misp-modules"],"published":"2026-11-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-11-16","vendors":["misp"]},"summary":"Authenticated MISP users can inject SPARQL via the Wikidata Lookup module to alter queries and leak internal error details.","url":"https://insights.sbomify.com/CVE-2026-126991/"}