CVE-2026-141547
Last modified
CVE-2026-141547 is a high-severity vulnerability rated 7/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pdm-project | pdm | >= 2.27.0, < 2.29.8 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-141547?
How severe is CVE-2026-141547?
How do I fix CVE-2026-141547?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-141538Addressable is an alternative implementation to the URI impl…4.8
- CVE-2026-141539Addressable is an alternative implementation to the URI impl…4.8
- CVE-2026-14154Inappropriate implementation in DevTools in Google Chrome pr…4.8
- CVE-2026-141540External control of file path in trino-storage plugin for tr…7
- CVE-2026-141545Capminal Contracts are the open-source smart contracts power…8.7
- CVE-2026-141546KiCad MCP Pro is an MCP server connecting AI agents to KiCad…5
- CVE-2026-141548pymonocypher uses cython to wrap the Monocypher C library. F…3.3
- CVE-2026-14155Insufficient policy enforcement in StorageAccessAPI in Googl…6.5
- CVE-2026-141553termux-sync is an open source tool for backing up and restor…5.5
- CVE-2026-141554AG2 is an open-source AgentOS. From 0.13.3 until 1.3.4, Sand…3.1
- CVE-2026-141555lxml-html-clean is an HTML cleaning library for Python. Prio…4.7
- CVE-2026-141556lxml-html-clean is an HTML cleaning library for Python. In v…4.7
Are you affected by CVE-2026-141547?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
