CVE-2025-59536CWE-94code-injection

CVE-2025-59536

High · published October 3, 2025

CVSS v3.1
8.8
EPSS
27%
Percentile
98.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.27213 · 98.1th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2025-10-03T11:15Z
Affected products (1)
ProductVersionsFixed in
anthropic/claude_code< 1.0.1111.0.111
References (1)
EPSS history
Timeline
  • 03 OCT 06:34Z
    Claude Code's startup trust dialog could lead to Command Execution attack
    cvelistv5