# CVE-2025-54131: Cursor bypasses its allow list to execute arbitrary commands

- Severity: Medium 6.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 46% of CVEs (2026-12-01)
- Published: 2025-08-01T23:05:02.617Z
- Modified: 2026-06-17T09:39:30.397Z
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Cursor is a code editor built for programming with AI. In versions below 1.3, an attacker can bypass the allow list in auto-run mode with a backtick (`) or $(cmd). If a user has swapped Cursor from its default settings (requiring approval for every terminal call) to an allowlist, an attacker can execute arbitrary command execution outside of the allowlist without user approval. An attacker can trigger this vulnerability if chained with indirect prompt injection. This is fixed in version 1.3.

(As written by CVE List.)

## Affected

- cursor cursor: < 1.3
- anysphere cursor: before 1.3

## Every score

- GitHub_M: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/cursor/cursor/security/advisories/GHSA-534m-3w6r-8pqr> (vendor-advisory)

## Sources

- CVE List: [CVE-2025-54131](https://www.cve.org/CVERecord?id=CVE-2025-54131), CVE Terms of Use, modified 2025-08-04
- NVD: [CVE-2025-54131](https://nvd.nist.gov/vuln/detail/CVE-2025-54131), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-54131 · Whole record: https://cve.day/CVE-2025-54131.json · Rebuilt by cve.day 2026-11-25T22:59:01.982Z
