PDM is a Python package and dependency manager.
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
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Pdm-Project
- Product
- pdm
- CVSS v3.1
- 7.0 AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- Fix
- available
- Weakness
- CWE-15, CWE-94
- Exposure class
- Developer platform
- NVD status
- Received
Why it ranks 35 (Notable)
- CVSS v3.1 7.0 high
- Product class: developer platform
- Fix available
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.