Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-47781

published high CVSS 4.0 · 8.4

pdm: Project-Controlled `.pdm-plugins` Content Executes Before CLI Parsing

Published
04 Aug 2026, 18:42:23 UTC
Updated
05 Aug 2026, 13:48:50 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
pdm-project — pdm< 2.27.0 Affected Not stated GitHub_M
SUSE / openSUSE openSUSE-Leap-16.0 python313-pdmnoarch Advisory build 2.22.3-bp160.2.1 OPENSUSE-SU-2026:21161-1
SUSE / openSUSE openSUSE-Tumbleweed python311-pdmaarch64 Advisory build 2.28.0-1.1 OPENSUSE-SU-2026:11124-1
SUSE / openSUSE openSUSE-Tumbleweed python311-pdmppc64le Advisory build 2.28.0-1.1 OPENSUSE-SU-2026:11124-1
SUSE / openSUSE openSUSE-Tumbleweed python311-pdms390x Advisory build 2.28.0-1.1 OPENSUSE-SU-2026:11124-1
SUSE / openSUSE openSUSE-Tumbleweed python311-pdmx86_64 Advisory build 2.28.0-1.1 OPENSUSE-SU-2026:11124-1
SUSE / openSUSE openSUSE-Tumbleweed python313-pdmaarch64 Advisory build 2.28.0-1.1 OPENSUSE-SU-2026:11124-1
SUSE / openSUSE openSUSE-Tumbleweed python313-pdmppc64le Advisory build 2.28.0-1.1 OPENSUSE-SU-2026:11124-1
Show 6 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed python313-pdms390x Advisory build 2.28.0-1.1 OPENSUSE-SU-2026:11124-1
SUSE / openSUSE openSUSE-Tumbleweed python313-pdmx86_64 Advisory build 2.28.0-1.1 OPENSUSE-SU-2026:11124-1
SUSE / openSUSE openSUSE-Tumbleweed python314-pdmaarch64 Advisory build 2.28.0-1.1 OPENSUSE-SU-2026:11124-1
SUSE / openSUSE openSUSE-Tumbleweed python314-pdmppc64le Advisory build 2.28.0-1.1 OPENSUSE-SU-2026:11124-1
SUSE / openSUSE openSUSE-Tumbleweed python314-pdms390x Advisory build 2.28.0-1.1 OPENSUSE-SU-2026:11124-1
SUSE / openSUSE openSUSE-Tumbleweed python314-pdmx86_64 Advisory build 2.28.0-1.1 OPENSUSE-SU-2026:11124-1

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
8.4 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
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

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
pdm-project pdm < 2.27.0 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-829 CWE-829: Inclusion of Functionality from Untrusted Control Sphere (GitHub_M · cna)
  • CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection') (GitHub_M · cna)

References

2

Provider assertions

2

GitHub_M · cna

pdm: Project-Controlled `.pdm-plugins` Content Executes Before CLI Parsing

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
2f8d6f75586915de0954dcfdd01fb82b287331c09b4ebfef65fd53cbe33695d2
Ingested
23 Sep 2026, 09:16:58 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected