CVE-2026-141547
PDM: A project pdm.toml can still set cache_dir, which brings back project-controlled plugin code at pdm startup
No exploitation reported by the sources we read.
- Published2026-12-02
- WeaknessCWE-15 · CWE-94
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
PDM is a Python package and dependency manager. From 2.27.0 until 2.29.8, a repository-controlled pdm.toml can override the global_only setting cache_dir because src/pdm/project/config.py enforces the restriction on writes but not when project configuration is read. In src/pdm/project/core.py, Project.config gives the project value precedence and project_plugins_dir is computed beneath the resulting cache directory. During Core.__init__ in src/pdm/core.py, load_plugins calls site.addsitedir on that directory's site-packages, processing executable .pth import lines before argument parsing. A malicious checkout can therefore execute Python code as the invoking user when PDM runs, including for pdm --version, if the prepared plugin directory matches the checkout path and Python version and PDM_CACHE_DIR is not set. This bypasses the earlier relocation of project plugins out of the checkout for CVE-2026-47781. This issue is fixed in version 2.29.8.
Timeline
dates in UTC- 2026-12-0218:58CVE publishedCNA
Versions per branch
Products declared by the CNA
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written. NVD lists no product for this CVE yet: this is the only product data so far.
- pdm-project pdmAffected
- = >= 2.27.0, < 2.29.8no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-12-02
Neither OSV.dev nor the vendor advisories we read list affected versions for CVE-2026-141547 yet.
Fix
No fix published by the sources we read yet. NVD record
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Metasploit modules
- none listed Metasploit Framework
Sources
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- Published
- 2026-12-02
- Last modified
- 2026-12-02
- NVD status
- Received
Frequently asked questions
What is CVE-2026-141547?
Is CVE-2026-141547 actively exploited?
What is the CVSS score for CVE-2026-141547?
Hear about the next vulnerability in your software
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2026-129243KEVsame weekGeoServer: Service security rules bypassed with a prefixed service name such as x/WFS
- CVE-2026-120705KEVsame weekGeoServer: Unauthenticated WFS GetFeatureById XML injection
- CVE-2026-138436same weekTRENDnet TEW-824DRU ssi os command injection
- CVE-2026-138356same weekD-Link DMS-3130/DXS-3130 369_copyfile.lua os command injection
- CVE-2026-138417same week
- CVE-2026-138355same weekD-Link R95 DHMAPI SOAP ssi SetTriggerPPPoEValidate os command injection
- CVE-2026-138416same week
- CVE-2026-138392same week