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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-12345— Python临时目录竞态条件导致任意文件删除漏洞

一分钟漏洞结论

影响对象
Python Software Foundation CPython
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

的清理过程存在竞态条件漏洞。攻击者若在清理过程中能够修改目录树,便可以用符号链接替换某个目录,从而导致临时目录外部的文件被删除,或其权限和文件标志位(file flags)被重置,且这些操作将以执行清理进程的权限身份进行。需要注意的是,对于 属性为 false 的平台,该漏洞依然受影响;此外,在所有平台上,目录树之外的文件标志位仍可能被重置。

CVSS 5.9 · Medium EPSS 0.18% · P7

可能的 ATT&CK 技术 1 AI

T1499 · Endpoint Denial of Service

影响版本矩阵 2

厂商产品 版本范围状态
Python Software Foundation CPython < 3.12.15 affected
3.13.0a1< 3.15.0 affected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Race condition in tempfile.TemporaryDirectory cleanup allows deleting files outside the temporary directory
来源: CVE Program / CVE List V5
Vulnerability Description
The cleanup of tempfile.TemporaryDirectory is vulnerable to a race condition. An attacker who can modify the tree during cleanup can replace a directory with a symbolic link, causing files outside of the temporary directory to be deleted or have their permissions and file flags reset, with the privileges of the process performing the cleanup. Note that platforms where shutil.rmtree.avoids_symlink_attacks is false, remain affected, and file flags may still be reset outside of the tree on all platforms.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
N/A
来源: CVE Program / CVE List V5

受影响产品

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

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

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-12345 补丁与修复 (4)

CVE-2026-12345 其他参考 (1)

CVE-2026-12345 其他参考 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-12345

暂无评论


发表评论