Code execution in PDM via project-controlled .pdm-python file
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-829.
Summary
PDM through 2.29.8 can run code from a malicious repository. A project can ship a .pdm-python file that points to an executable, and PDM probes that path as an interpreter when a user runs commands such as pdm list or pdm info (CWE-829). An attacker who supplies such a repository needs a user to run one of these commands, and the attacker's script then runs with that user's privileges.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| pdm-project | pdm | up to 2.29.8 | — | No fix listed | CNA |
- pdm Vendorpdm-project Affected up to 2.29.8 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for pdm.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Timeline
- 2026-12-04 Threatist record created from CVE-2026-144576
- 2026-12-04 Alias added: GHSA-m6gr-936m-pr62
- 2026-12-04 CISA SSVC decision points changed
References
More pdm-project vulnerabilities
- TI-2026-35274 pdm: Project-Controlled `.pdm-plugins` Content Executes Before CLI Parsing CVSS 4.0HIGH 8.4
- TI-2026-102548 Project pdm.toml can run attacker code when PDM starts CVSS 3.1HIGH 7.0
- TI-2026-35260 pdm: Project-Local State and Config Writes Follow Symlinks CVSS 4.0MEDIUM 6.8
- TI-2026-35261 pdm: Path traversal in wheel installation via overridden write_to_fs CVSS 4.0HIGH 8.4
Sources
- CVE-2026-144576 · CVE Program
- CVE-2026-144576 · NVD
- FIRST EPSS
- GHSA-m6gr-936m-pr62 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences