CVE-2026-35021: Anthropic Claude Code & Agent SDK OS Command Injection via promptEditor.ts

Published Apr 6, 2026
·
Updated

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.

Affected Software

1 affected component
Claude Code

Event History

Apr 6, 2026
CVE Published
via MITRE·06:59 PM
Rejected
via MITRE·06:59 PM
Data Sourced
via NVD·08:16 PM
Description
May 29, 2026
Rejected
via MITRE·04:26 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-35021?

CVE-2026-35021 is considered a critical severity vulnerability due to its ability to allow arbitrary OS command execution.

2

How do I fix CVE-2026-35021?

To fix CVE-2026-35021, update to the latest version of the Anthropic Claude Code CLI and Claude Agent SDK that addresses this OS command injection vulnerability.

3

What does CVE-2026-35021 impact?

CVE-2026-35021 impacts the Anthropic Claude Code CLI and Claude Agent SDK by allowing command injection through a vulnerable prompt editor utility.

4

What are the potential consequences of CVE-2026-35021?

The potential consequences of CVE-2026-35021 include unauthorized access, data theft, and system compromise due to arbitrary command execution.

5

Who is affected by CVE-2026-35021?

Users and organizations utilizing the Anthropic Claude Code CLI and Claude Agent SDK are affected by CVE-2026-35021.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203