{"id":"CVE-2025-59536","published":"2025-10-03T06:34:48Z","modified":"2025-10-03T13:26:23Z","title":"Claude Code's startup trust dialog could lead to Command Execution attack","vendor":"anthropics","product":"claude-code","tier":"tail","description":{"text":"Claude Code is an agentic coding tool. Versions before 1.0.111 were vulnerable to Code Injection due to a bug in the startup trust dialog implementation. Claude Code could be tricked to execute code contained in a project before the user accepted the startup trust dialog. Exploiting this requires a user to start Claude Code in an untrusted directory. Users on standard Claude Code auto-update will have received this fix automatically. Users performing manual updates are advised to update to the latest version. This issue is fixed in version 1.0.111.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.26261,"percentile":0.98044,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-4fgq-fpq9-mr3g","tags":["x_refsource_CONFIRM"]}],"priority":{"score":30.7,"factors":[{"name":"EPSS percentile","points":19.61},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.09}]},"exploitSources":{"pocGithub":{"count":5,"skipped":0,"earliest":"2026-03-10","earliestUrl":"https://github.com/Rohitberiwala/Claude-Code-MCP-Injection-PoC","repos":[{"name":"AetherAI3/AETHER-PROTOCOL-P","url":"https://github.com/AetherAI3/AETHER-PROTOCOL-P","stars":1,"created":"2026-03-16"},{"name":"Rohitberiwala/Claude-Code-MCP-Injection-PoC","url":"https://github.com/Rohitberiwala/Claude-Code-MCP-Injection-PoC","stars":0,"created":"2026-03-10"},{"name":"TreRB/ai-ide-config-guard","url":"https://github.com/TreRB/ai-ide-config-guard","stars":0,"created":"2026-04-20"},{"name":"Razi-Interactive/claude-project-scanner","url":"https://github.com/Razi-Interactive/claude-project-scanner","stars":0,"created":"2026-04-30"},{"name":"Perufitlife/dotclaude-security","url":"https://github.com/Perufitlife/dotclaude-security","stars":0,"created":"2026-06-21"}]},"first":{"date":"2026-03-10","source":"PoC-in-GitHub","url":"https://github.com/Rohitberiwala/Claude-Code-MCP-Injection-PoC"},"provenance":"source"},"vendorSlug":"anthropics","affectedVersions":[{"vendor":"anthropics","product":"claude-code","versions":["< 1.0.111"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-10-03T13:26:09.204169Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@anthropic-ai/claude-code","vulnerableRanges":["<1.0.111"],"patched":["1.0.111"],"from":["GHSA-4fgq-fpq9-mr3g"],"provenance":"source"}],"summary":{"text":"Claude Code, Anthropic's agentic coding tool, contains a flaw in its startup trust dialog implementation that allows code injection. An attacker can get a user to launch Claude Code in an untrusted project directory, where code contained in that project can run before the user accepts the trust dialog, and this requires only that user interaction with no prior authentication or network access.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:18:11Z"},"euvd":{"id":"EUVD-2025-32507","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-66032","published":"2025-12-03","fixed":"1.0.93","kev":false},{"cve":"CVE-2025-58764","published":"2025-09-10","fixed":"1.0.105","kev":false,"link":{"from":"CVE-2025-58764","to":"CVE-2025-59536","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@anthropic-ai/claude-code","fromFixed":"1.0.105","toFixed":"1.0.111","daysApart":23},{"kind":"similar","provenance":"machine","score":0.44,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2025-59041","published":"2025-09-10","fixed":"1.0.105","kev":false},{"cve":"CVE-2025-59536","published":"2025-10-03","fixed":"1.0.111","kev":false},{"cve":"CVE-2026-24052","published":"2026-02-03","fixed":"1.0.111","kev":false},{"cve":"CVE-2025-59829","published":"2025-10-03","fixed":"1.0.120","kev":false,"link":{"from":"CVE-2025-59536","to":"CVE-2025-59829","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@anthropic-ai/claude-code","fromFixed":"1.0.111","toFixed":"1.0.120","daysApart":0}]}},{"cve":"CVE-2025-64755","published":"2025-11-21","fixed":"2.0.31","kev":false}],"package":"npm:@anthropic-ai/claude-code"}}