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

Source: https://aplosec.si/cve/CVE-2026-144576/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-144576

High 8.5 · Reported · No fix listed · CWE-829 · PyPI

# PDM through 2.29.8 Code Execution via Project-Controlled .pdm-python File

CVE-2026-144576 · published 2026-12-04

In plain words: this type of bug lets someone run their own code inside the application (code injection). No fixed release is listed yet.

## Summary

CVE-2026-144576 affects PDM (PyPI) <= 2.29.8: Code Execution via Project-Controlled .pdm-python File (CWE-829). No fixed release is listed. CVSS 4.0 base score 8.5 (High), assigned by VulnCheck. Published 2026-12-04 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/pdm-through-2.29.8-code-execution-via-project-controlled-pdm-python-file](https://www.vulncheck.com/advisories/pdm-through-2.29.8-code-execution-via-project-controlled-pdm-python-file)

- [Vulnerable codehttps://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#L297-L311)

- [Vulnerable codehttps://github.com/pdm-project/pdm/blob/2.29.8/src/pdm/project/core.py#L342-L345](https://github.com/pdm-project/pdm/blob/2.29.8/src/pdm/project/core.py#L342-L345)

- [Vulnerable codehttps://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/models/python.py#L24-L32)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-144576](https://www.cve.org/CVERecord?id=CVE-2026-144576)

**Severity:** High 8.5 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-144576)

**Package:** PDM

**Ecosystem:** PyPI

**Affected:** <= 2.29.8

**Fixed:** None

**Weakness:** CWE-829

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
