CVE-2026-31854
Last modified
CVE-2026-31854 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Anysphere | Cursor | < 2.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-31854?
How severe is CVE-2026-31854?
How do I fix CVE-2026-31854?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-31849Nexxt Solutions Nebula 300+ firmware through version 12.01.0…6.5
- CVE-2026-3185A vulnerability was found in feiyuchuixue sz-boot-parent up …5.5
- CVE-2026-31850Nexxt Solutions Nebula 300+ firmware through version 12.01.0…4.9
- CVE-2026-31851Nexxt Solutions Nebula 300+ firmware through version 12.01.0…9.8
- CVE-2026-31852Jellyfin is an open-source media system. The code-quality.ym…9.8
- CVE-2026-31853ImageMagick is free and open-source software used for editin…5.5
- CVE-2026-31856Parse Server is an open source backend that can be deployed …9.8
- CVE-2026-31857Craft is a content management system (CMS). Prior to 5.9.9 a…8.8
- CVE-2026-31858Craft is a content management system (CMS). The ElementSearc…8.8
- CVE-2026-31859Craft is a content management system (CMS). The fix for CVE-…6.1
- CVE-2026-3186A vulnerability was determined in feiyuchuixue sz-boot-paren…4.3
- CVE-2026-31860Unhead is a document head and template manager. Prior to 2.1…6.1
Are you affected by CVE-2026-31854?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
