Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-58764: CWE-94: Improper Control of Generation of Code ('Code Injection') in anthropics claude-code

0
High
VulnerabilityCVE-2025-58764cvecve-2025-58764cwe-94
Published: Wed Sep 10 2025 (09/10/2025, 15:06:30 UTC)
Source: CVE Database V5
Vendor/Project: anthropics
Product: claude-code

Description

Claude Code is an agentic coding tool. Due to an error in command parsing, versions prior to 1.0.105 were vulnerable to a bypass of the Claude Code confirmation prompt to trigger execution of an untrusted command. Reliably exploiting this requires the ability to add untrusted content into a Claude Code context window. Users on standard Claude Code auto-update will have received this fix automatically. Users performing manual updates are advised to update to version 1.0.105 or the latest version.

AI-Powered Analysis

AILast updated: 09/18/2025, 00:43:29 UTC

Technical Analysis

CVE-2025-58764 is a high-severity vulnerability classified under CWE-94 (Improper Control of Generation of Code, commonly known as Code Injection) affecting the Anthropics product 'Claude Code', an agentic coding tool. The vulnerability arises from an error in command parsing in versions prior to 1.0.105, which allows an attacker to bypass the tool's confirmation prompt and trigger execution of untrusted commands. This means that if an attacker can inject malicious content into the Claude Code context window, they can cause the tool to execute arbitrary code without user confirmation. The vulnerability does not require any privileges or authentication (AV:N/PR:N), but does require user interaction (UI:P) to exploit, such as the user opening or interacting with a maliciously crafted context. The impact on confidentiality, integrity, and availability is high (VC:H/VI:H/VA:H), indicating that successful exploitation could lead to full compromise of the affected system. The vulnerability is network exploitable (AV:N) and has a low attack complexity (AC:L), making it relatively easy to exploit remotely if the attacker can inject content. The vendor has addressed this issue in version 1.0.105, and users with auto-update enabled should already be protected. Manual updaters are advised to upgrade immediately. No known exploits are currently reported in the wild, but the high CVSS score (8.7) and the nature of the vulnerability suggest a significant risk if exploited. The lack of patch links in the provided data suggests users should consult official Anthropics channels for updates.

Potential Impact

For European organizations, the impact of CVE-2025-58764 could be severe. Claude Code, as an agentic coding tool, is likely used in software development environments, potentially handling sensitive codebases and intellectual property. Exploitation could lead to unauthorized code execution, allowing attackers to inject malicious code, steal confidential data, disrupt development workflows, or pivot to other internal systems. This could compromise the integrity of software products, lead to data breaches, and cause operational downtime. Given the high impact on confidentiality, integrity, and availability, organizations could face regulatory consequences under GDPR if personal data is exposed. The requirement for user interaction means social engineering or phishing could be used to facilitate exploitation, increasing risk in environments where developers interact with untrusted sources or third-party code. The vulnerability's ease of exploitation and network accessibility heighten the threat landscape for European enterprises relying on Claude Code for development.

Mitigation Recommendations

European organizations should immediately verify the version of Claude Code in use and ensure it is updated to version 1.0.105 or later. For environments where automatic updates are disabled, implement strict update policies to enforce timely patching. Additionally, restrict the ability to inject untrusted content into Claude Code context windows by controlling input sources and limiting integration with untrusted third-party tools or services. Employ network segmentation and endpoint protection to detect and block suspicious command execution attempts. Educate developers about the risks of interacting with untrusted code snippets or content within Claude Code to reduce the likelihood of social engineering exploitation. Implement monitoring and logging of code execution activities within Claude Code to detect anomalous behavior promptly. Finally, coordinate with Anthropics for any further security advisories and apply any subsequent patches or mitigations recommended by the vendor.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
GitHub_M
Date Reserved
2025-09-04T19:18:09.500Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 68c196ac368ecf244925d85c

Added to database: 9/10/2025, 3:18:04 PM

Last enriched: 9/18/2025, 12:43:29 AM

Last updated: 10/30/2025, 2:15:28 PM

Views: 53

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats