{"id":"UBUNTU-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-08-06T03:09:39.834498058Z","published":"2026-08-04T19:16:00Z","upstream":["CVE-2026-47764"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-47764"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-47764"},{"type":"REPORT","url":"https://github.com/pdm-project/pdm/security/advisories/GHSA-78v8-vpjp-cjqh"},{"type":"REPORT","url":"https://github.com/pdm-project/pdm/releases/tag/2.27.0"}],"affected":[{"package":{"name":"pdm","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/pdm?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.20.1+ds1-2","2.23.1-4"],"ecosystem_specific":{"binaries":[{"binary_version":"2.23.1-4","binary_name":"python3-pdm"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-47764.json"}}],"schema_version":"1.8.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"},{"type":"Ubuntu","score":"medium"}]}