8.7high
Claude Code's startup trust dialog could lead to Command Execution attack
- Severity
- 8.7high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 26.3% (higher than 98% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-4fgq-fpq9-mr3g
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| anthropics claude-code | < 1.0.111 | CVE List |
| @anthropic-ai/claude-code (npm) | before 1.0.111 | GitHub Advisory Database |
| anthropic claude_code | before 1.0.111 | NVD |
All scores
| GitHub_M | 8.7high CVSS:4.0 | 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 |
| GitHub | high CVSS:4.0 | 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 |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
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!
NVD (es)
Claude Code es una herramienta de codificación agéntica. Las versiones anteriores a la 1.0.111 eran vulnerables a la inyección de código debido a un error en la implementación del diálogo de confianza de inicio. Se podía engañar a Claude Code para que ejecutara código contenido en un proyecto antes de que el usuario aceptara el diálogo de confianza de inicio. La explotación de esto requiere que un usuario inicie Claude Code en un directorio no confiable. Los usuarios con la actualización automática estándar de Claude Code habrán recibido esta corrección automáticamente. Se aconseja a los usuarios que realizan actualizaciones manuales que actualicen a la última versión. Este problema está solucionado en la versión 1.0.111.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-59536 changed 2025-10-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4fgq-fpq9-mr3g changed 2025-10-03 | CC-BY-4.0 |
| NVD | CVE-2025-59536 changed 2026-10-12 | Public domain |