CVE-2025-59536: Claude Code's startup trust dialog could lead to Command Execution attack

Published Oct 3, 2025
·
Updated

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.

Other sources

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!

GitHub

Affected Software

3 affected componentsFixes available
Claude Code<1.0.111
npm/@anthropic-ai/claude-code<1.0.111
1.0.111
Anthropic Claude Code Node.js<1.0.111

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/@anthropic-ai/claude-code to a version that resolves this vulnerability.

    Fixed in 1.0.111
  2. Upgrade

    Upgrade Claude Code to a version that resolves this vulnerability.

    Fixed in 1.0.111

Event History

Oct 3, 2025
CVE Published
via MITRE·06:34 AM
Data Sourced
via MITRE·06:34 AM
DescriptionWeakness
Data Sourced
via NVD·07:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 AM
Affected Software
Advisory Published
via GitHub·02:16 PM
Data Sourced
via GitHub·02:16 PM
DescriptionWeaknessAffected Software
Feb 26, 2026
News Published
via The Register·12:33 AM
News Published
via The Register·12:35 AM
May 7, 2026
News Published
via Dark Reading·01:00 PM
May 12, 2026
News Published
via Dark Reading·01:07 PM
Jun 29, 2026
News Published
via Dark Reading·11:44 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-59536?

CVE-2025-59536 has been classified as a high severity vulnerability due to its potential for code injection.

2

How do I fix CVE-2025-59536?

To fix CVE-2025-59536, upgrade Claude Code to version 1.0.111 or later.

3

What versions of Claude Code are affected by CVE-2025-59536?

Claude Code versions prior to 1.0.111 are affected by CVE-2025-59536.

4

What type of vulnerability is CVE-2025-59536?

CVE-2025-59536 is a code injection vulnerability.

5

Can CVE-2025-59536 be exploited remotely?

Yes, CVE-2025-59536 can potentially be exploited remotely if the vulnerable versions are used.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203