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_app をフォロー2026/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。