CVE-2026-35022
Severity CVSS v4.0:
CRITICAL
Type:
CWE-78
OS Command Injections
Publication date:
06/04/2026
Last modified:
29/04/2026
Description
Anthropic Claude Code CLI and Claude Agent SDK contain an OS command injection vulnerability in authentication helper execution where helper configuration values are executed using shell=true without input validation. Attackers who can influence authentication settings can inject shell metacharacters through parameters like apiKeyHelper, awsAuthRefresh, awsCredentialExport, and gcpAuthRefresh to execute arbitrary commands with the privileges of the user or automation environment, enabling credential theft and environment variable exfiltration.
Impact
Base Score 4.0
9.30
Severity 4.0
CRITICAL
Base Score 3.x
9.80
Severity 3.x
CRITICAL
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:anthropic:claude_agent_sdk:*:*:*:*:*:python:*:* | 0.1.55 (including) | |
| cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:* | 2.1.91 (including) |
To consult the complete list of CPE names with products and versions, see this page



