CVE-2026-47764
Published:June 15, 2026
Updated:June 15, 2026
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.
Affected Packages
pdm (CONDA):
Affected version(s) >=2.13.2 <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 (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.05