Claude Code's startup trust dialog could lead to Command Execution attack
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| anthropics | claude-code | before 1.0.111 | 1.0.111 | Patch available | CNA |
| — | @anthropic-ai/claude-code (npm) | before 1.0.111 | 1.0.111 | Patch available | GHSA-4fgq-fpq9-mr3g |
- claude-code Vendoranthropics Affected before 1.0.111 Fixed in 1.0.111 Patch available CNA
- @anthropic-ai/claude-code (npm) Vendor— Affected before 1.0.111 Fixed in 1.0.111 Patch available GHSA-4fgq-fpq9-mr3g
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:* | before 1.0.111 | Vulnerable | anthropics |
- cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:* Versions before 1.0.111 Vulnerable ·anthropics
Remediation
- Fix · CNA claude-code (anthropics) Fixed in 1.0.111
- Fix · GHSA-4fgq-fpq9-mr3g @anthropic-ai/claude-code (npm) Fixed in 1.0.111 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-59536
- 2026-10-03 Alias added: GHSA-4fgq-fpq9-mr3g
References
More anthropics Claude Code vulnerabilities
- TI-2025-40558 Claude Code Command Validation Bypass Allows Arbitrary Code Execution CVSS 4.0HIGH 8.7
- TI-2025-36683 Claude Code vulnerable to arbitrary code execution caused by maliciously configured git email CVSS 4.0HIGH 8.7
- TI-2026-17554 Claude Code Leaks Data via Malicious Environment Configuration Before Trust Confirmation CVSS 4.0MEDIUM 5.3
- TI-2025-40093 @anthropic-ai/claude-code has Sed Command Validation Bypass that Allows Arbitrary File Writes CVSS 4.0HIGH 8.7
- TI-2025-36422 Claude Code rg command had Command Injection that allowed bypass of user approval prompt for command execution CVSS 4.0HIGH 8.7
- TI-2025-34550 Claude Code echo command allowed bypass of user approval prompt for command execution CVSS 4.0HIGH 8.7
Sources
- CVE-2025-59536 · CVE Program
- CVE-2025-59536 · NVD
- FIRST EPSS
- GHSA-4fgq-fpq9-mr3g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences