CVE-2026-35021 Details
Description
Rejected reason: This CVE ID has been rejected by its CVE Numbering Authority (CNA). It was determined that the affected code path cannot be triggered through normal usage of Claude Code.
A command injection vulnerability has been identified in Anthropic's Claude Code CLI and Claude Agent SDK. This vulnerability allows attackers to execute arbitrary commands by injecting shell metacharacters into file paths, which are then executed as shell commands. The issue arises in the prompt editor invocation utility, where the file path is improperly sanitized before being interpolated into a command executed via execSync. Although the path is enclosed in double quotes, POSIX shell rules permit command substitution within quotes, enabling the execution of injected commands with the privileges of the user running the CLI.
Users are advised to set the ANTHROPIC_API_KEY environment variable directly, bypassing the CLI's authentication helper execution. In CI/CD environments, it is recommended to generate Claude CLI settings from trusted sources and to avoid using the -p mode with untrusted workspaces.
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] |