CVE-2026-144576: PDM through 2.29.8 Code Execution via Project-Controlled .pdm-python File

Published Dec 4, 2026
·
Updated

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.

Affected Software

1 affected component
pypi/pdm<=2.29.8

Event History

Dec 4, 2026
CVE Published
via MITRE·01:09 AM
Data Sourced
via MITRE·01:09 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What must an attacker do to trigger this issue?

The attacker must provide a repository containing a .pdm-python file that points to an attacker-controlled executable. A user must then run a PDM command that probes the project interpreter, such as pdm list or pdm info.

2

Who is exposed to exploitation?

Users who run affected PDM versions against repositories they do not fully trust are exposed. The attacker-controlled script runs with the privileges of the user invoking PDM.

3

How can I check a repository for the dangerous condition?

Inspect the repository for a .pdm-python file and determine whether it points to an executable controlled by the repository or otherwise untrusted. Treat such a project as unsafe to probe with affected PDM versions.

4

What can be done before an update is available?

Do not run PDM commands that probe interpreter configuration, including pdm list and pdm info, in untrusted repositories containing a .pdm-python file. Review or remove untrusted .pdm-python files before invoking PDM.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203