{"id":"ghsa-ghsa-fv38-chg5-6pg2","seq":13099042,"kind":"advisory","title":"PDM: A project pdm.toml can still set cache_dir, which brings back project-controlled plugin code at pdm startup","url":"https://github.com/advisories/GHSA-fv38-chg5-6pg2","permalink":"https://vulnpulse.app/items/ghsa-ghsa-fv38-chg5-6pg2","summary":"影響: pip:pdm >= 2.27.0, < 2.29.8 → 2.29.8\nGHSA-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…","severity":"high","cvss":null,"techs":["python"],"cves":["CVE-2026-141547"],"tags":["GHSA-fv38-chg5-6pg2","pdm"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-12-04T21:49:17.000Z","fetched_at":"2026-12-05T02:20:50.705Z"}