CVE-2025-54794 (CNNVD-202508-285)

HIGH
中文标题:
Claude Code 路径遍历漏洞
英文标题:
Claude Code Research Preview has a Path Restriction Bypass which could allow unauthorized file access
CVSS分数: 7.7
发布时间: 2025-08-05 00:08:13
漏洞类型: 路径遍历
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

Claude Code是Anthropic开源的一个代理编码工具。 Claude Code 0.2.111之前版本存在路径遍历漏洞,该漏洞源于路径验证使用前缀匹配而非规范路径比较,可能导致目录限制绕过。

英文描述:

Claude Code is an agentic coding tool. In versions below 0.2.111, a path validation flaw using prefix matching instead of canonical path comparison, makes it possible to bypass directory restrictions and access files outside the CWD. Successful exploitation depends on the presence of (or ability to create) a directory with the same prefix as the CWD and the ability to add untrusted content into a Claude Code context window. This is fixed in version 0.2.111.

CWE类型:
CWE-22
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
anthropics claude-code < 0.2.111 - - cpe:2.3:a:anthropics:claude-code:<_0.2.111:*:*:*:*:*:*:*
anthropic claude_code * - - cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/anthropics/claude-code/security/advisories/GHSA-pmw4-pwvc-3hx2 x_refsource_CONFIRM
cve.org
访问
CVSS评分详情
4.0 (cna)
HIGH
7.7
CVSS向量: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
机密性
HIGH
完整性
HIGH
可用性
HIGH
后续系统影响 (Subsequent):
机密性
NONE
完整性
NONE
可用性
NONE
时间信息
发布时间:
2025-08-05 00:08:13
修改时间:
2025-08-05 14:17:31
创建时间:
2025-11-11 15:40:42
更新时间:
2025-11-11 16:00:07
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-54794 2025-11-11 15:23:29 2025-11-11 07:40:42
NVD nvd_CVE-2025-54794 2025-11-11 15:00:58 2025-11-11 07:48:30
CNNVD cnnvd_CNNVD-202508-285 2025-11-11 15:12:52 2025-11-11 08:00:07
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 16:00:07
vulnerability_type: 未提取 → 路径遍历; cnnvd_id: 未提取 → CNNVD-202508-285; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 路径遍历
  • cnnvd_id: 未提取 -> CNNVD-202508-285
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:48:30
affected_products_count: 1 → 2; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 1 -> 2
  • data_sources: ['cve'] -> ['cve', 'nvd']