Skip to main content
Menu
CVEs

pdm code execution via untrusted .pdm-python file

Affects PDM 2.29.8 and earlier when a user runs commands such as pdm list or pdm info in a malicious repository. No vendor rating is given; CVSS scores it 8.5 (high). No fixed version is listed.

CVE-2026-144576EUVD-2026-143871GHSA-M6GR-936M-PR62Published December 4, 2026, updated

8.5HighCNA
Exploited
No known exploitation
Fix
No fix listed
Who is exposed
Specific setups only

Summary

PDM, a Python package manager, is affected. A local attacker can plant a malicious repository with a crafted .pdm-python file that points to an executable, and when a user runs commands such as pdm list or pdm info, the attacker's script runs with that user's privileges. Exploitation requires the user to act by running a PDM command in that project.

Written by a model

Original 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.

Who should check

Teams and developers using PDM (pypi:pdm, version 2.29.8 or earlier) who run pdm list or pdm info in projects from untrusted repositories

“Affecting pdm <= 2.29.8”

vulncheck.com

What to do

  1. Check whether your setup matches what the bug needs.

    PDM version 2.29.8 or earlier A user runs a PDM command such as pdm list or pdm info in the malicious repository
  2. Workaround: Until a fix is available, avoid running pdm list or pdm info in repositories from untrusted sources, since that is the condition that triggers the probe.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-144576 (PDM through 2.29.8 Code Execution via Project-Controlled .pdm-python File), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-144576 (entry last updated 2026-12-04):
Affected:
- PyPI package pdm: through 2.29.8
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- PDM version 2.29.8 or earlier (source: https://www.vulncheck.com/advisories/pdm-through-2.29.8-code-execution-via-project-controlled-pdm-python-file)
- A user runs a PDM command such as pdm list or pdm info in the malicious repository (source: https://www.vulncheck.com/advisories/pdm-through-2.29.8-code-execution-via-project-controlled-pdm-python-file)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, no login, a user action.
CISA KEV: CVE-2026-144576 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-144576 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Packages (PyPI): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.

Verify against the linked advisories before concluding, and cite the date you read each one:
- 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://github.com/pdm-project/pdm/blob/2.29.8/src/pdm/models/python.py#L24-L32
- https://www.vulncheck.com/advisories/pdm-through-2.29.8-code-execution-via-project-controlled-pdm-python-file
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-144576
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-144576"}.

Affected versions

cve.now Index

32Pof 100 · provisional · methodology v3
  • Exploitation0/40No signal
  • Exposure5/25Specific setups only
  • Reach12/20pdm: 375.9K downloads a week
  • Severity9.5/10CVSS 8.5, total technical impact per CISA
  • No patch5/5No patch listed yet

What would change the score

  • Would score about 82 if added to CISA KEV
  • Would score about 77 if CISA's SSVC rates exploitation active
  • Would score about 42 if CISA's SSVC rates it automatable

Impact

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  4. Record last updated

Evidence 6

Questions about CVE-2026-144576

Is CVE-2026-144576 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

When a user runs commands like pdm list or pdm info, PDM probes a path from the project as a Python interpreter. The attacker's script runs with the user's privileges, giving code execution on the user's machine.

Source: vulncheck.com

Which versions are affected by CVE-2026-144576?

pdm (PyPI): through 2.29.8.

Source: cve.now feed data

Am I affected, and how do I check?

PDM version 2.29.8 and earlier are affected, per the listed range. To check the installed version, run pdm --version in a terminal.

Source: vulncheck.com

How do I fix CVE-2026-144576?

The checked facts list no fixed version or vendor patch ids, so no upgrade target can be named. Check the PDM project's advisory for a fix.

Source: vulncheck.com

What if there's no patch?

Until a fix is available, avoid running pdm list or pdm info in repositories from untrusted sources, since that is the condition that triggers the probe.

Source: vulncheck.com

No corrections so far. Something wrong on this page? Report an error.