{"id":"DEBIAN-CVE-2026-47764","details":"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.","modified":"2026-09-09T08:47:30.500115783Z","published":"2026-08-04T19:16:51.093Z","upstream":["CVE-2026-47764"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-47764"}],"affected":[{"package":{"name":"pdm","ecosystem":"Debian:12","purl":"pkg:deb/debian/pdm?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1+ds1-1","2.2.1+ds1-2","2.20.0.post1+ds1-1","2.20.0.post1+ds1-2","2.20.1+ds1-1","2.20.1+ds1-2","2.23.1-1","2.23.1-2","2.23.1-3","2.23.1-4","2.26.2-1","2.26.6-1","2.27.0-1","2.28.0-1","2.28.1-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-47764.json"}},{"package":{"name":"pdm","ecosystem":"Debian:13","purl":"pkg:deb/debian/pdm?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.20.1+ds1-2","2.23.1-1","2.23.1-2","2.23.1-3","2.23.1-4","2.26.2-1","2.26.6-1","2.27.0-1","2.28.0-1","2.28.1-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-47764.json"}},{"package":{"name":"pdm","ecosystem":"Debian:14","purl":"pkg:deb/debian/pdm?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.27.0-1"}]}],"versions":["2.20.1+ds1-2","2.23.1-1","2.23.1-2","2.23.1-3","2.23.1-4","2.26.2-1","2.26.6-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-47764.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}