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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
Affected Packages
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
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
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.
Primary rating from Vendor (https://github.com/pdm-project/pdm).
CVSS VectorVendor: https://github.com/pdm-project/pdm
Lifecycle Timeline
2DescriptionCVE.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
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.
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
EUVD-2026-52854
GHSA-78v8-vpjp-cjqh
NVD
CVE.org
EPSS
VulDB
Exploit-DB