{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-31854","published":"2026-03-11T17:16:58.917000Z","last_modified":"2026-06-17T10:34:38.353000Z","status":"Analyzed","cvss":{"version":"4.0","score":8.7,"severity":"HIGH","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-78"],"cpes":[{"criteria":"cpe:2.3:a:anysphere:cursor:*:*:*:*:*:*:*:*","part":"a","vendor":"anysphere","product":"cursor","version_end_excluding":"2.0"}],"cpes_truncated":false,"vendors":["anysphere"],"products":["anysphere/cursor"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":67,"links":{"html_es":"/es/cve/CVE-2026-31854/","html_en":"/en/cve/CVE-2026-31854/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31854","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31854"},"untrusted":{"vendor_name":"Anysphere","product_name":"Cursor","desc_en":"Cursor is a code editor built for programming with AI. Prior to 2.0 ,if a visited website contains maliciously crafted instructions, the model may attempt to follow them in order to “assist” the user. When combined with a bypass of the command whitelist mechanism, such indirect prompt injections could result in commands being executed automatically, without the user’s explicit intent, thereby posing a significant security risk. This vulnerability is fixed in 2.0.","affected":[{"untrusted_vendor":"cursor","untrusted_product":"cursor","versions":[]}],"references":[{"url":"https://github.com/cursor/cursor/security/advisories/GHSA-hf2x-r83r-qw5q","tags":["Vendor Advisory"]}]}}