CVE-2026-144576
DESCRIPTION
PDM through 2.29.8 contains a code execution vulnerability that allows malicious repositories to run scripts by shipping a .pdm-python file pointing to an executable. When a user runs commands like pdm list or pdm info, PDM probes the path as an interpreter, executing the attacker's script with user privileges.
CVSS
HIGH 8.5 · v4.0
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XWEAKNESSES
REFERENCES
- https://github.com/pdm-project/pdm/blob/2.29.8/src/pdm/models/python.py#L24-L32
- https://github.com/pdm-project/pdm/blob/2.29.8/src/pdm/project/core.py#L297-L311
- https://github.com/pdm-project/pdm/blob/2.29.8/src/pdm/project/core.py#L342-L345
- https://www.vulncheck.com/advisories/pdm-through-2.29.8-code-execution-via-project-controlled-pdm-python-file
This record is mirrored from the NIST National Vulnerability Database and republished unchanged. It may have been revised or withdrawn since we last synced it; check the record at NVD before relying on it.