{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-50548","published":"2026-06-25T19:16:39.660000Z","last_modified":"2026-06-26T16:51:25.290000Z","status":"Analyzed","cvss":{"version":"4.0","score":9.3,"severity":"CRITICAL","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/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-22"],"cpes":[{"criteria":"cpe:2.3:a:anysphere:cursor:*:*:*:*:*:*:*:*","part":"a","vendor":"anysphere","product":"cursor","version_end_excluding":"3.0"}],"cpes_truncated":false,"vendors":["anysphere"],"products":["anysphere/cursor"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":71,"links":{"html_es":"/es/cve/CVE-2026-50548/","html_en":"/en/cve/CVE-2026-50548/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-50548","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-50548"},"untrusted":{"vendor_name":"Anysphere","product_name":"Cursor","desc_en":"Cursor is a code editor built for programming with AI. Prior to 3.0, Cursor runs agent terminal commands in a sandbox by default, and the sandbox grants write access to the command's working directory. A flaw was identified in how the agent could modify the working_directory parameter, which could cause the sandbox to include writable paths outside the intended workspace. A malicious agent could set working_directory to a sensitive location and write arbitrary files outside the workspace under the user's privileges. This enables non-sandboxed Remote Code Execution — for example by overwriting the cursorsandbox helper so later commands run unsandboxed — with no user interaction beyond a benign prompt. This vulnerability is fixed in 3.0.","affected":[{"untrusted_vendor":"cursor","untrusted_product":"cursor","versions":[]}],"references":[{"url":"https://github.com/cursor/cursor/security/advisories/GHSA-3p48-7v9f-v5cw","tags":["Vendor Advisory"]}]}}