Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

CVSS 9.8 · Critical EPSS 0.52% · P67
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-35022

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Anthropic Claude Code & Agent SDK OS Command Injection via Authentication Helper
Source: NVD (National Vulnerability Database)
Vulnerability Description
Anthropic Claude Code CLI and Claude Agent SDK contain an OS command injection vulnerability in authentication helper execution where helper configuration values are executed using shell=true without input validation. Attackers who can influence authentication settings can inject shell metacharacters through parameters like apiKeyHelper, awsAuthRefresh, awsCredentialExport, and gcpAuthRefresh to execute arbitrary commands with the privileges of the user or automation environment, enabling credential theft and environment variable exfiltration.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: NVD (National Vulnerability Database)
Vulnerability Title
Claude Code CLI和Claude Agent SDK 操作系统命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Claude Code CLI和Claude Agent SDK都是Anthropic开源的产品。Claude Code CLI是一个命令行AI编码助手工具。Claude Agent SDK是一个AI编码助手开发者工具包。 Claude Code CLI和Claude Agent SDK存在操作系统命令注入漏洞,该漏洞源于身份验证助手执行中的操作系统命令注入,其中助手配置值使用shell=true执行且未进行输入验证,可能导致攻击者注入shell元字符执行任意命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

VendorProductAffected VersionsCPESubscribe
AnthropicClaude Code 0 ~ 2.1.91 -
AnthropicClaude Agent SDK for Python 0 ~ 0.1.55 -

II. Public POCs for CVE-2026-35022

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-35022

登录查看更多情报信息。

Same Patch Batch · Anthropic · 2026-04-06 · 3 CVEs total

CVE-2026-350208.4 HIGHAnthropic Claude Code & Agent SDK OS Command Injection via TERMINAL Environment Variable
CVE-2026-350217.8 HIGHAnthropic Claude Code & Agent SDK OS Command Injection via promptEditor.ts

IV. Related Vulnerabilities

V. Comments for CVE-2026-35022

No comments yet


Leave a comment