CVE-2026-47781
Last modified
CVE-2026-47781 is a high-severity vulnerability rated 8.4/10 on the CVSS scale. 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. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pdm-project | pdm | < 2.27.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-47781?
How severe is CVE-2026-47781?
How do I fix CVE-2026-47781?
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-47770jq is a command-line JSON processor. Prior to 1.8.2, compari…5.5
- CVE-2026-47774Envoy is an open source edge and service proxy designed for …7.5
- CVE-2026-47775Envoy is an open source edge and service proxy designed for …6.8
- CVE-2026-47777Mastodon is a free, open-source social network server based …7.5
- CVE-2026-47778Envoy is an open source edge and service proxy designed for …4.4
- CVE-2026-4778A weakness has been identified in SourceCodester Sales and I…6.5
- CVE-2026-47782Android App "RoboForm Password Manager" provided by Siber Sy…4.6
- CVE-2026-47783In memcached before 1.6.42, username data for SASL password …8.1
- CVE-2026-47784In memcached before 1.6.42, password data for SASL password …8.1
- CVE-2026-4779A security vulnerability has been detected in SourceCodester…8.8
- CVE-2026-4780A vulnerability was detected in SourceCodester Sales and Inv…8.8
- CVE-2026-4781A flaw has been found in SourceCodester Sales and Inventory …8.8
Are you affected by CVE-2026-47781?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
