GitHub Advisoryadvisory · npm
GHSA-4fgq-fpq9-mr3g Claude Code can execute commands prior to the startup trust dialog
HIGH
Official page ↗
- Aliases
- CVE-2025-59536
- Ecosystem
- npm
- Packages
- @anthropic-ai/claude-code
- Severity
- High
- CVSS 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
- Weaknesses
- CWE-94
- Reviewed
- 2025-10-03
Affected packages
• npm @anthropic-ai/claude-code: < 1.0.111 → fixed in 1.0.111
Description
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.
Thank you to https://hackerone.com/avivdon for reporting this issue!
Related
Alias · CVE (1)
- CVE-2025-59536 Claude Code is an agentic coding tool. vulnerability
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness