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

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 26.3%, higher than 98% of CVEs (2026-12-01)
- Published: 2025-10-03T06:34:48.398Z
- Modified: 2026-10-12T15:10:00.207Z
- Also known as: GHSA-4fgq-fpq9-mr3g
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- anthropics claude-code: < 1.0.111
- @anthropic-ai/claude-code (npm): before 1.0.111
- anthropic claude_code: before 1.0.111

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/anthropics/claude-code/security/advisories/GHSA-4fgq-fpq9-mr3g> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-59536> (advisory)
- <https://github.com/anthropics/claude-code> (package)

## Sources

- CVE List: [CVE-2025-59536](https://www.cve.org/CVERecord?id=CVE-2025-59536), CVE Terms of Use, modified 2025-10-03
- GitHub Advisory Database: [GHSA-4fgq-fpq9-mr3g](https://github.com/advisories/GHSA-4fgq-fpq9-mr3g), CC-BY-4.0, modified 2025-10-03
- NVD: [CVE-2025-59536](https://nvd.nist.gov/vuln/detail/CVE-2025-59536), Public domain, modified 2026-10-12

---

Page: https://cve.day/CVE-2025-59536 · Whole record: https://cve.day/CVE-2025-59536.json · Rebuilt by cve.day 2026-11-25T22:59:05.458Z
