PT-2026-48601 · Pypi · Pdm
CVE-2026-47764
·
Published
2026-06-10
·
Updated
2026-08-04
CVSS v4.0
8.4
High
| Vector | AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
pdm versions prior to 2.28.0
Description
The
write to fs() function in the InstallDestination class fails to properly validate file paths when adding symlink or hardlink support. It replaces the secure path with destdir() method, which uses Path.resolve() and is relative to() for validation, with os.path.join(). This lack of validation allows a malicious wheel package containing path traversal entries to write arbitrary files to the system.Recommendations
Update to version 2.28.0 or later.
Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Pdm