PDM is a Python package and dependency manager. In versions up to and including 2.26.9, PDM automatically loads project-local plugins from a .pdm-plugins directory during initialization, allowing an attacker-controlled file in an untrusted repository checkout to execute arbitrary Python code before any command is parsed. This happens because load_plugins() runs during Core.init() and adds .pdm-plugins via site.addsitedir(), which processes .pth files and immediately executes any line beginning with import, so the code runs with the privileges of the user invoking pdm and even a benign command such as pdm --version triggers it (making the impact strongest in CI, automation, and privileged contexts). The issue is fixed in version 2.27.0.
CVE-2026-47781
This high-severity CVE scores 8.4 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.1%, top 97% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.4
- EG Score
- 8.4HIGHmedium confidence
- EG Risk
- 69EG Risk 69/100
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity84% × 45%Exploitation40% × 40%Automatability100% × 15% - EPSS PROB
- 0.2%
- EPSS %ILE
- 7th
- KEV
- Not listed
Published
June 11, 2026
Last Modified
September 8, 2026
Advisory Details (2)
Auto-updated Aug 4, 2026v2.27.0
Patch available: pdm-project/pdm 2.27.0
https://github.com/pdm-project/pdm/releases/tag/2.27.0Project-Controlled `.pdm-plugins` Content Executes Before CLI Parsing · Advisory · pdm-project/pdm · GitHub
https://github.com/pdm-project/pdm/security/advisories/GHSA-qq6c-99pv-prvfVendor Advisories for CVE-2026-47781(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(4 across 4 ecosystems)
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| pdm | 2.2.1+ds1-1 ... 2.29.0-1 (16 versions) |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| pdm | 2.20.1+ds1-2 ... 2.29.0-1 (11 versions) |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| pdm | 2.20.1+ds1-2 ... 2.26.6-1 (7 versions) |
| — |
PyPI(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| pdm | 0.0.0 ... 2.9.3 (247 versions) |
| — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 6× in last 7d / 20× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-10-09 20:07 UTCEPSS rescore
- 2026-10-08 17:12 UTCEPSS rescore
- 2026-10-07 23:48 UTCEPSS rescore
- 2026-10-06 15:18 UTCEPSS rescore
- 2026-10-05 17:43 UTCEPSS rescore
- 2026-10-04 23:22 UTCEPSS rescore
- 2026-10-03 14:25 UTCEPSS rescore
- 2026-10-03 08:39 UTCOSV refresh
- 2026-10-01 19:50 UTCEPSS rescore
- 2026-09-30 15:03 UTCEPSS rescore
- 2026-09-28 13:51 UTCEPSS rescore
- 2026-09-27 13:48 UTCEPSS rescore
- 2026-09-26 15:59 UTCEPSS rescore
- 2026-09-26 00:27 UTCEPSS rescore
- 2026-09-23 17:53 UTCEPSS rescore
- 2026-09-20 20:16 UTCEPSS rescore
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-14 04:10 UTCEG score recompute
- 2026-09-13 16:47 UTCEPSS rescore
- 2026-09-10 09:35 UTCEPSS rescore
- 2026-09-08 23:00 UTCEG score recompute
- 2026-09-08 22:00 UTCEPSS rescore
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
Show 53 moreShow fewer
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-08-31 00:05 UTCEG score recompute
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-25 00:06 UTCEG score recompute
- 2026-08-23 10:43 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 10:35 UTCEG score recompute
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 08:51 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-19 14:54 UTCEG score recompute
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 03:42 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 14:52 UTCEG score recompute
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 13:11 UTCEG score recompute
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-13 22:14 UTCEG score recompute
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-12 14:36 UTCEG score recompute
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-12 01:40 UTCEG score recompute
- 2026-08-11 12:49 UTCEG score recompute
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-09 22:14 UTCEG score recompute
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-08 20:34 UTCEG score recompute
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-07 18:51 UTCEG score recompute
- 2026-08-06 17:11 UTCEG score recompute
- 2026-08-06 13:47 UTCEPSS rescore
- 2026-08-06 04:21 UTCEG score recompute
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-05 15:31 UTCEG score recompute
- 2026-08-05 14:38 UTCEG score recompute
- 2026-08-04 19:26 UTCEG score recompute
- 2026-08-04 18:56 UTCEG score recompute▲ 8.40
- 2026-08-04 18:55 UTCMITRE cvelistV5CVSS v3 → 8.4 · CVSS v4 → 8.4
- 2026-07-30 09:41 UTCEG score recompute
- 2026-07-26 20:54 UTCEG score recompute
- 2026-07-23 03:17 UTCEG score recompute
- 2026-06-14 23:18 UTCEPSS rescore
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-11 13:56 UTCEG score recompute
Related CVEs(same product + same CWE)
Same product
3 shownDebian:12:pdm
Frequently asked(5)
What is CVE-2026-47781?
When was CVE-2026-47781 disclosed?
Is CVE-2026-47781 actively exploited?
What is the CVSS score of CVE-2026-47781?
How do I remediate CVE-2026-47781?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-47781
Is Your Infrastructure Affected by CVE-2026-47781?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.