CVE-2026-21852

MEDIUM
中文标题:
(暂无数据)
英文标题:
Claude Code Leaks Data via Malicious Environment Configuration Before Trust Confirmation
CVSS分数: 5.3
发布时间: 2026-01-21 20:42:06
漏洞类型: (暂无数据)
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v2
漏洞描述
中文描述:

(暂无数据)

英文描述:

Claude Code is an agentic coding tool. Prior to version 2.0.65, vulnerability in Claude Code's project-load flow allowed malicious repositories to exfiltrate data including Anthropic API keys before users confirmed trust. An attacker-controlled repository could include a settings file that sets ANTHROPIC_BASE_URL to an attacker-controlled endpoint and when the repository was opened, Claude Code would read the configuration and immediately issue API requests before showing the trust prompt, potentially leaking the user's API keys. Users on standard Claude Code auto-update have received this fix already. Users performing manual updates are advised to update to version 2.0.65, which contains a patch, or to the latest version.

CWE类型:
CWE-522
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
anthropics claude-code < 2.0.65 - - cpe:2.3:a:anthropics:claude-code:<_2.0.65:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/anthropics/claude-code/security/advisories/GHSA-jh7p-qr78-84p7 x_refsource_CONFIRM
cve.org
访问
CVSS评分详情
4.0 (cna)
MEDIUM
5.3
CVSS向量: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
机密性
LOW
完整性
LOW
可用性
LOW
后续系统影响 (Subsequent):
机密性
NONE
完整性
NONE
可用性
NONE
时间信息
发布时间:
2026-01-21 20:42:06
修改时间:
2026-01-21 21:34:43
创建时间:
2026-01-22 06:00:08
更新时间:
2026-01-22 06:00:14
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2026-21852 2026-01-22 03:19:49 2026-01-21 22:00:08
NVD nvd_CVE-2026-21852 2026-01-22 02:00:05 2026-01-21 22:00:14
版本与语言
当前版本: v2
主要语言: EN
支持语言:
EN
安全公告
暂无安全公告信息
变更历史
v2 NVD
2026-01-22 06:00:14
data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • data_sources: ['cve'] -> ['cve', 'nvd']