CVE-2025-59536: Claude Code - Code Injection
- Cve: CVE-2025-59536
- Name: Claude Code - Code Injection
- 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.
- Impact: Attackers can execute arbitrary code before user trust confirmation, potentially compromising the system.
- Remediation: Update to version 1.0.111 or later.
- Vulnerability type: code_injection
- Vulnerability impact: remote_code_execution
- Requirement type: user_interaction
- Requirements: User must start Claude Code in an untrusted directory
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.26261
- Epss percentile: 0.98045
- Assignee: [email protected]
- Published at: 2025-10-03T07:15:44Z
- Age in days: 417
- Modified at: 2026-10-12T15:10:00Z
- Patch available: yes
- Public exploits total: 5
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-59536
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
Hackerone
- Reports: 8
- Rank: 1094
Public exploits
Same in every row:
- Source: poc-in-github
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/anthropics/claude-code/security/advisories/GHSA-4fgq-fpq9-mr3g | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| anthropic:claude_code | < 1.0.111 | no | nvd | /v1/products/anthropic/claude_code |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| anthropics/claude-code | package, security_advisory | yes | /v1/repositories/anthropics/claude-code |
Index
- Repositories: 1
- Repositories high signal: 1
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 5
- Public exploit first date: 2026-03-10
- Remote: yes
- Hackerone reports: 8
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts