Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
HighPublic exploit

Rejected CVE-2026-35021: OS command injection in Anthropic Claude Code CLI prompt editor invocation utility

IdentifiersCVE-2026-35021CWE-78· Improper Neutralization of Special…

CVE-2026-35021 was rejected by its CNA. The rejection states that the affected code path cannot be triggered through normal usage of Claude Code. Although third-party reporting described an OS command injection issue in the prompt editor invocation utility of Anthropic Claude Code CLI and the Claude Agent SDK—where attacker-controlled file paths containing shell metacharacters such as $() or backticks were allegedly interpolated into shell commands executed via execSync—this CVE record is not considered a valid, exploitable vulnerability by the assigning authority based on the available information in the CVE entry.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Per the CVE rejection, the CNA determined that the affected code path cannot be triggered through normal usage of Claude Code. As a result, there is no confirmed exploitable vulnerability associated with this CVE ID. Third-party claims described potential arbitrary command execution in the security context of the user running the CLI, but that impact is not validated by the CNA for this rejected CVE.

Mitigation

If you can’t patch tonight, do this now.

Because this CVE has been rejected, no specific mitigation is established for a confirmed vulnerability under this identifier. As a general hardening measure for similar classes of issues, avoid passing untrusted input into shell-interpreted command strings, prefer argument-safe process invocation APIs over shell execution, and validate or sanitize file path inputs used in editor-launch workflows.

Remediation

Patch, then assume compromise.

No remediation can be authoritatively prescribed for this CVE ID because the record has been rejected by the CNA. If organizations remain concerned about the underlying third-party reports, they should review vendor statements and any upstream code changes related to prompt editor invocation and shell command construction in Claude Code CLI and the Claude Agent SDK.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
AnthropicClaude Agent Sdkapplication
AnthropicClaude Codeapplication
AnthropicClaude Code Cliapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity2

Community discussion across Reddit, Mastodon, and other social sources.