CVE-2026-47764
Published:August 04, 2026
Updated:August 05, 2026
pdm is a Python package and dependency manager supporting the latest PEP standards. Versions prior to 2.27.0 are vulnerable to path traversal through write_to_fs. 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. This issue has been fixed in version 2.27.0.
Affected Packages
pdm (CONDA):
Affected version(s) >=2.13.2 <2.27.0Fix Suggestion:
Update to version 2.27.0pdm (CONDA):
Affected version(s) >=1.8.5 <2.27.0Fix Suggestion:
Update to version 2.27.0https://github.com/pdm-project/pdm.git (GITHUB):
Affected version(s) >=2.13.0 <2.27.0Fix Suggestion:
Update to version 2.27.0pdm (PYTHON):
Affected version(s) >=2.13.0 <2.27.0Fix Suggestion:
Update to version 2.27.0pdm (PYTHON):
Affected version(s) >=0.0.0 <2.27.0Fix Suggestion:
Update to version 2.27.0Related Resources (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.4
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
CVSS v3
Base Score:
7.8
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.05