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.
Metrics
Affected Vendors & Products
References
History
Tue, 07 Apr 2026 09:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Anthropic
Anthropic claude Agent Sdk For Python Anthropic claude Code |
|
| Vendors & Products |
Anthropic
Anthropic claude Agent Sdk For Python Anthropic claude Code |
Mon, 06 Apr 2026 20:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Anthropic Claude Code & Agent SDK OS Command Injection via Authentication Helper | |
| Weaknesses | CWE-78 | |
| References |
| |
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: VulnCheck
Published: 2026-04-06T18:59:29.656Z
Updated: 2026-04-07T16:16:24.001Z
Reserved: 2026-03-31T20:40:15.618Z
Link: CVE-2026-35022
No data.
Status : Awaiting Analysis
Published: 2026-04-06T20:16:25.260
Modified: 2026-04-07T13:20:11.643
Link: CVE-2026-35022
No data.