CVE-2026-35022: Anthropic Claude Code & Agent SDK OS Command Injection via Authentication Helper

Published Apr 6, 2026
·
Updated

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.

Affected Software

1 affected component
Anthropic Claude

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-35022?

CVE-2026-35022 is considered a high severity vulnerability due to the potential for OS command injection.

2

How do I fix CVE-2026-35022?

To fix CVE-2026-35022, ensure that the authentication helper does not use 'shell=true' in its configuration and implement proper input validation.

3

What software is affected by CVE-2026-35022?

CVE-2026-35022 affects Anthropic Claude Code CLI and Anthropic Claude Agent SDK.

4

What are the consequences of exploiting CVE-2026-35022?

Exploiting CVE-2026-35022 can lead to unauthorized execution of OS commands, potentially compromising system integrity.

5

How does CVE-2026-35022 occur?

CVE-2026-35022 occurs when configuration values in the authentication helper are executed in a shell without proper validation.

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