Skip to main content

CVE-2026-47764

| EUVDEUVD-2026-52854 HIGH
Path Traversal (CWE-22)
2026-06-10 https://github.com/pdm-project/pdm GHSA-78v8-vpjp-cjqh PYSEC-2026-2861
8.4
CVSS 4.0 · Vendor: https://github.com/pdm-project/pdm
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Aug 04, 2026

Arbitrary file write in PDM's wheel installer allows a maliciously crafted Python package to escape its designated installation directory and write attacker-controlled content anywhere on the target filesystem permitted by the running user's OS permissions. PDM versions through 2.22.4 are affected due to the InstallDestination.write_to_fs() override silently dropping the parent class's validated path resolution in favor of an unguarded os.path.join() call. No active exploitation is confirmed (not in CISA KEV, EPSS 0.05%), but the vulnerability class is well-understood, the fix is in released version 2.27.0, and the supply chain threat model makes developer workstations and CI/CD pipelines the primary exposure surface.

Earlier versions of this analysis (1)
v1 Jun 10, 2026 - 21:19

Arbitrary file write via path traversal in PDM (Python Development Master) package manager allows malicious wheels to write files outside the intended installation directory during package installation. The flaw exists in InstallDestination.write_to_fs() which overrode the safe base class path validation with an unvalidated os.path.join() call, affecting PDM versions up to and including 2.22.4. No public exploit identified at time of analysis, though the issue mirrors the previously disclosed Poetry CVE-2026-34591 of the same class.

Affected VersionsENISA

pdm < 2.27.0

Affected Packages

pypi pdm fix: 2.27.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/pdm-project/pdm) PRIMARY 8.4 HIGH
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
vuln.today AI 6.1 MEDIUM

Local install action (AV:L), no privileges needed but user must run pdm install on the malicious wheel (UI:R); arbitrary file write yields high integrity impact, no direct confidentiality loss, partial availability via overwrite.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
SUSE MEDIUM

Primary rating from Vendor (https://github.com/pdm-project/pdm).

CVSS VectorVendor: https://github.com/pdm-project/pdm

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Analysis Updated
Aug 04, 2026 - 19:30 vuln.today
v2 - CVSS changed
CVSS changed
Aug 04, 2026 - 19:22 NVD
8.4 (HIGH)

DescriptionCVE.org

InstallDestination.write_to_fs() in src/pdm/installers/installers.py overrides the base class to add symlink/hardlink support but replaces the safe _path_with_destdir() (which validates via Path.resolve() + is_relative_to()) with a bare os.path.join() that performs no path validation. A malicious wheel with traversal entries can write arbitrary files. Same class as Poetry CVE-2026-34591. Fix ready at: https://github.com/pdm-project/pdm/pull/3787.

Executive ViewAI

Why It Matters

PDM's package installer (versions through 2.22.4) allows malicious Python packages to write files anywhere on the filesystem with user-level permissions, creating direct supply chain infection risk for development teams and CI/CD automation. This vulnerability affects organizations that use PDM to manage Python dependencies in development or deployment pipelines, with potential downstream impact to production code and infrastructure. Patch available in PDM version 2.27.0.

Recommended Action

Within 24 hours, inventory all development workstations, CI/CD pipeline runners, and build automation systems running PDM and identify which are on versions through 2.22.4. Within 7 days, upgrade all affected instances to PDM version 2.27.0 or later and perform a fresh dependency resolution to ensure clean package installation across all projects. Within 30 days, review build artifacts and deployment logs from the past 6 months for evidence of unexpected files in unexpected locations, and implement hash verification or code scanning of recent releases as a detective control.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 85% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy