CVE-2025-54795
JavaScript vulnerability analysis and mitigation

Overview

Claude Code, an agentic coding tool, was found to contain a critical command injection vulnerability (CVE-2025-54795) in versions below 1.0.20. The vulnerability was discovered by Elad Beber from Cymulate during Anthropic's Research Preview phase and was disclosed on August 4, 2025. The flaw affects the command parsing functionality of Claude Code, potentially allowing attackers to bypass the confirmation prompt system (GitHub Advisory, NVD).

Technical details

The vulnerability stems from an error in command parsing that enables attackers to bypass Claude Code's confirmation prompt system and execute untrusted commands. The issue has been assigned a CVSS v4.0 base score of 8.7 (High), with the vector string 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. The vulnerability is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command Injection) (GitHub Advisory).

Impact

The vulnerability allows attackers to execute arbitrary commands without proper authorization, potentially leading to high impacts on system confidentiality, integrity, and availability. Successful exploitation requires the ability to inject untrusted content into a Claude Code context window (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Claude Code version 1.0.20. Users on standard Claude Code auto-update received this fix automatically after release. All versions prior to 1.0.24 have been deprecated and users have been forced to update, making current users unaffected by this vulnerability (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-53668MEDIUM6.9
  • JavaScript logoJavaScript
  • react-router
NoYesJul 27, 2026
CVE-2026-59729MEDIUM5.1
  • JavaScript logoJavaScript
  • astro
NoYesJul 27, 2026
CVE-2026-59728MEDIUM4.3
  • JavaScript logoJavaScript
  • @astrojs/rss
NoYesJul 27, 2026
CVE-2026-59730LOW2.1
  • JavaScript logoJavaScript
  • @astrojs/node
NoYesJul 27, 2026
CVE-2026-59727LOW2.1
  • JavaScript logoJavaScript
  • astro
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management