---
title: "CVE-2026-141547: PDM - Remote Code Execution"
description: "PDM 2.27.0 to 2.29.8 contains a code execution vulnerability caused by improper enforcement of cache_dir restrictions in project configuration, letting attackers execute arbitrary Python code as the invoking user, exploit requires malicious project checkout and unset PDM_CACHE_DIR."
url: https://panop.io/threat-heartbeat/CVE-2026-141547/
---

# CVE-2026-141547 PDM - Remote Code Execution

PDM 2.27.0 to 2.29.8 contains a code execution vulnerability caused by improper enforcement of cache\_dir restrictions in project configuration, letting attackers execute arbitrary Python code as the invoking user, exploit requires malicious project checkout and unset PDM\_CACHE\_DIR.

CVSS base score 7.0 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-141547)

## Details

Type

Remote Code Execution

Impact

Remote Code Execution

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Published

2 December 2026

Updated

3 December 2026

Weakness

[CWE-15](https://cwe.mitre.org/data/definitions/15.html)

## Vendor fix

Update to version 2.29.8 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-141547](https://nvd.nist.gov/vuln/detail/CVE-2026-141547)
- [https://github.com/pdm-project/pdm/commit/8cfea30571b0694dacbc7c5e4459527f83a4c4cc](https://github.com/pdm-project/pdm/commit/8cfea30571b0694dacbc7c5e4459527f83a4c4cc)
- [https://github.com/pdm-project/pdm/releases/tag/2.29.8](https://github.com/pdm-project/pdm/releases/tag/2.29.8)
- [https://github.com/pdm-project/pdm/security/advisories/GHSA-fv38-chg5-6pg2](https://github.com/pdm-project/pdm/security/advisories/GHSA-fv38-chg5-6pg2)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
