All reports
High

Claude Code can execute commands prior to the startup trust dialog

Affected versions

Affected versions
< 1.0.111
Fixed version
1.0.111

Exploitation

CVE-2025-59536

Probability of exploitation in the next 30 days: 25.19%

FIRST EPSS · 2026-11-18

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!

Links