CVE-2026-35022 Details
Description
Rejected reason: This CVE ID has been rejected by its CVE Numbering Authority (CNA). It was determined that the -p flag behavior is documented in Anthropic's claude -h output with an explicit warning that non-interactive mode should only be used in trusted directories, making this intended and described behavior rather than a vulnerability.
A command injection vulnerability has been identified in Anthropic's Claude Code CLI and Claude Agent SDK for Python. This vulnerability arises in the authentication helper execution, where configuration values are processed with shell interpretation enabled, but without proper input validation. Attackers who can manipulate authentication settings may inject shell metacharacters through various parameters, such as apiKeyHelper, awsAuthRefresh, awsCredentialExport, and gcpAuthRefresh. This exploitation allows for the execution of arbitrary commands with the user's privileges or within the automation environment, facilitating the theft of credentials and exfiltration of environment variables.
Users are advised to set credentials using environment variables instead of through the authentication helpers. In CI/CD environments, it is important to generate settings from trusted sources and to review changes to the .claude/settings.json file with the same scrutiny as other CI/CD configuration changes. For the vendor, recommendations include executing authentication helpers with structured command configurations that do not allow shell metacharacters, adding flags to skip helper execution or pin settings content, and logging all helper executions.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No CVSS 3.x data is available for this CVE.
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
No references are available for this CVE.
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
No affected product data is available for this CVE.
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| May 29, 2026 | CVE Rejected | [email protected] |
| May 29, 2026 | CVE Modified | [email protected] |
| Apr 29, 2026 | Initial Analysis | [email protected] |
| Apr 13, 2026 | CVE Modified | [email protected] |
| Apr 6, 2026 | New CVE Received | [email protected] |