目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-11940— Python Software Foundation CPython 路径遍历漏洞

一分钟漏洞结论

影响对象
Python Software Foundation CPython
利用判断
存在公开或 AI PoC,应优先验证
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Python Software Foundation CPython是Python Software Foundation基金会的编程语言解释器。 Python Software Foundation CPython 存在安全漏洞,该漏洞源于tarfile.extractall()的'data'或'tar'过滤器可被绕过,其中提取回退在硬链接的较浅路径上重新创建了已验证的符号链接,导致相对目标可能逃逸目标目录,使恶意tar存档能创建指向目标外的符号链接,从而造成目录外文件读取或写入。

CVSS 7.8 · High EPSS 0.75% · P53

可能的 ATT&CK 技术 1 AI

T1059.004 · Unix Shell

影响版本矩阵 6

厂商产品 版本范围状态
Python Software Foundation CPython < 3.10.21 affected
3.11.0< 3.11.16 affected
3.12.0< 3.12.14 affected
3.13.0< 3.13.15 affected
3.14.0< 3.14.7 affected
3.15.0a1< 3.15.0b4 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-11940 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
tarfile extraction filter bypass allows escaping the destination directory
来源: CVE Program / CVE List V5
Vulnerability Description
tarfile.extractall() with the 'data' or 'tar' filter could be bypassed by a crafted archive where a hardlink references a symlink stored at a deeper name than the hardlink itself.  The extraction fallback validated the symlink at it's archived location but recreated it at the hardlink's shallower path, letting a relative target the filter judged contained escape the destination directory.  This allowed a malicious tar archive to create a symlink pointing outside the destination, enabling out-of-destination file reads or writes. This was an incomplete fix of CVE-2025-4330.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
来源: CVE Program / CVE List V5
Vulnerability Title
Python Software Foundation CPython 路径遍历漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Python Software Foundation CPython是Python Software Foundation基金会的编程语言解释器。 Python Software Foundation CPython 存在安全漏洞,该漏洞源于tarfile.extractall()的'data'或'tar'过滤器可被绕过,其中提取回退在硬链接的较浅路径上重新创建了已验证的符号链接,导致相对目标可能逃逸目标目录,使恶意tar存档能创建指向目标外的符号链接,从而造成目录外文件读取或写入。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Python Software Foundation CPython 0 ~ 3.10.21 -

二、漏洞 CVE-2026-11940 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级
Qwen3.6-35B-A3B · 6963 chars
Pro+ 专属包含:
漏洞复现靶场录像(真实沙箱构建 + 触发,独家)
漏洞原理深度分析
触发条件与影响面
完整可执行 POC 代码
利用链与缓解建议
POC 打包下载
每月 100+ 条 AI 生成额度

三、漏洞 CVE-2026-11940 的情报信息

请登录查看更多情报信息。

CVE-2026-11940 补丁与修复 (8)

CVE-2026-11940 厂商安全公告 (1)

CVE-2026-11940 邮件列表归档 (1)

同批安全公告 · Python Software Foundation · 2026-06-23 · 共 3 条

CVE-2026-11972 8.2 HIGH Python 异常处理不当漏洞
CVE-2026-0864 4.1 MEDIUM Python 输入验证错误漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-11940

暂无评论


发表评论