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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-141547— PDM 启动阶段执行项目控制插件代码漏洞

一分钟漏洞结论

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

以下是对该漏洞描述的翻译(尽量忠实原文,未新增利用细节): PDM 是一个 Python 包及依赖管理器。从 2.27.0 到 2.29.8 之间,一个由仓库控制的 可以覆盖全局只读的 设置的 。原因是 只在写入时强制该限制,而在读取项目配置时不强制。在 中, 会给予项目配置更高优先级,并且 会计算在最终得到的缓存目录之下。在 的 中, 会对该目录的 调用 ,并在参数解析之前处理其中可执行的 导入行。因此,恶意 checkout 可以在 PDM 运行时以调用用户身份执行 Python 代码,包括在运行 时,只要准备

CVSS 7.0 · High

影响版本矩阵 1

厂商产品 版本范围状态
pdm-project pdm >= 2.27.0, < 2.29.8 affected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
PDM: A project pdm.toml can still set cache_dir, which brings back project-controlled plugin code at pdm startup
来源: CVE Program / CVE List V5
Vulnerability Description
PDM is a Python package and dependency manager. From 2.27.0 until 2.29.8, a repository-controlled pdm.toml can override the global_only setting cache_dir because src/pdm/project/config.py enforces the restriction on writes but not when project configuration is read. In src/pdm/project/core.py, Project.config gives the project value precedence and project_plugins_dir is computed beneath the resulting cache directory. During Core.__init__ in src/pdm/core.py, load_plugins calls site.addsitedir on that directory's site-packages, processing executable .pth import lines before argument parsing. A malicious checkout can therefore execute Python code as the invoking user when PDM runs, including for pdm --version, if the prepared plugin directory matches the checkout path and Python version and PDM_CACHE_DIR is not set. This bypasses the earlier relocation of project plugins out of the checkout for CVE-2026-47781. This issue is fixed in version 2.29.8.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
系统设置或配置在外部可控制
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
pdm-project pdm >= 2.27.0, < 2.29.8 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-141547 其他参考 (3)

IV. Related Vulnerabilities