PDM: A project pdm.toml can still set cache_dir, which brings back project-controlled plugin code at pdm startup
受影响
| 软件包 | 受影响版本 | 修复版本 |
|---|---|---|
| pip:pdm | >= 2.27.0, < 2.29.8 | 2.29.8 |
GHSA-qq6c-99pv-prvf was fixed by moving the per-project plugin library out of the project, to /plugins/ - . cache_dir is declared global-only, but that is checked only when a value is written. A pdm.toml committed to a repository (the docs recommend committing it) can still set cache_dir, and the plugin library path is then computed under a directory the repository controls. A repository can ship that directory with a .pth file, and pdm runs it at startup, before parsing arguments. In my test p…
在 X 上接收快讯漏洞利用、重大泄露和故障,附应对措施。
关注 @vulnpulse_app2026/12/05 06:49,GitHub Advisory Database 发布了“PDM: A project pdm.toml can still set cache_dir, which brings back project-controlled plugin code at pdm startup”(类型:漏洞公告)。严重程度为“高危”(high)。相关技术:Python。CVE:CVE-2026-141547。