Claude Code Vulnerable to Arbitrary Code Execution Due to Insufficient Startup Warning
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Code execution
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-94.
Summary
When Claude Code was started in a new directory, it displayed a warning asking, "Do you trust the files in this folder?". This warning did not properly document that selecting "Yes, proceed" would allow Claude Code to execute files in the folder without additional confirmation. This may not have been clear to a user so we have updated the warning to clarify this functionality. 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. Thank you to https://hackerone.com/avivdon for reporting this issue!
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | @anthropic-ai/claude-code (npm) | before 1.0.87 | 1.0.87 | Patch available | GHSA-ph6w-f82w-28w6 |
- @anthropic-ai/claude-code (npm) Vendor— Affected before 1.0.87 Fixed in 1.0.87 Patch available GHSA-ph6w-f82w-28w6
Remediation
- Fix · GHSA-ph6w-f82w-28w6 @anthropic-ai/claude-code (npm) Fixed in 1.0.87 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-ph6w-f82w-28w6
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences