CVE & CISA-KEV Catalog

CVE-2026-47781

HIGH
8.4
CVSS v4
NVD

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.

How to fix

Remediation Available
pdmDebian
Fixed in:2.27.0-1CVE-2026-47781

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v4 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone

Impact

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

Exploit Intelligence

0.13%probability of exploitation in 30 days
3rdpercentile

Low risk: more likely to be exploited than 3% of all known CVEs.

References

Other references2

Related Vulnerabilities

Other CWE-94 (Code Injection) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2017-9841Critical9.8100%KEVFix
CVE-2015-1635Critical9.8100%KEV-
CVE-2022-22954Critical9.8100%KEV + Ransom-
CVE-2025-3248Critical9.8100%KEV + RansomFix
CVE-2025-49704High8.8100%KEV + RansomFix
CVE-2021-22204Medium6.8100%KEVFix

Common questions

How do I fix CVE-2026-47781?

Upgrade pdm on debian unstable to 2.27.0-1 or later.

Is CVE-2026-47781 being actively exploited?

Not that we know of. CVE-2026-47781 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.13% is the estimated probability that it will be exploited in the next 30 days. That is higher than 3% of all scored CVEs.

How severe is CVE-2026-47781?

CVE-2026-47781 has a CVSS v4 base score of 8.4, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2026-47781 affect?

Published advisories record a fix for pdm (Debian). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2026-47781
CVE-2026-47781 severity badge

Markdown

[![CVE-2026-47781](https://tridentstack.com/cve/badge/CVE-2026-47781.svg)](https://tridentstack.com/cve/CVE-2026-47781)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-47781"><img src="https://tridentstack.com/cve/badge/CVE-2026-47781.svg" alt="CVE-2026-47781"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-08-05.