PDM through 2.29.8 Code Execution via Project-Controlled .pdm-python File
- CVE-2026-144576
- GHSA-m6gr-936m-pr62
- EUVD-2026-143871
Summary
PDM, a Python package and project manager, is affected through version 2.29.8 by a code execution flaw tied to a project-controlled .pdm-python file. A malicious repository can include this file pointing to an executable, and when a user runs commands such as pdm list or pdm info, PDM probes that path as an interpreter. This executes the attacker's script with the privileges of the user running PDM. The record assigns a CVSS score of 7.8 and states the issue is not in the CISA known exploited vulnerabilities list. Engineers who clone or work with untrusted repositories using PDM should consider this risk and review the advisory for a fixed version.
AI summary · verify against the vendor advisory
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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
pdm-project pdm
Affected versions Fixed in up to 2.29.8 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.