{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-47764","id":"CVE-2026-47764","title":"pdm: Path traversal in wheel installation via overridden write_to_fs","description":"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 ","descriptionLong":"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.","published":"2026-08-04T17:57:15.756Z","updated":"2026-10-28T02:30:49.116771214Z","reserved":"2026-05-19T22:36:16.881Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":8.4,"vector":"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","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":8.4,"vector":"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","rating":"high","source":"GitHub_M"},{"version":"4.0","score":8.4,"vector":"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","rating":"high","source":"github.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"high","source":"GitHub"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"}],"rating":"high","products":["pdm-project pdm"],"affectedProducts":[{"vendor":"pdm-project","product":"pdm","defaultStatus":null,"versions":[{"version":"< 2.27.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"pdm","purl":"pkg:pypi/pdm","ranges":["<2.27.0"],"fixed":["2.27.0"],"advisory":"GHSA-78v8-vpjp-cjqh"}],"cwes":["CWE-22"],"aliases":["GHSA-78v8-vpjp-cjqh","PYSEC-2026-2861"],"references":[{"url":"https://github.com/pdm-project/pdm/security/advisories/GHSA-78v8-vpjp-cjqh","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/pdm-project/pdm/releases/tag/2.27.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47764.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47764","tags":["advisory"]},{"url":"https://github.com/pdm-project/pdm/pull/3787","tags":["web"]},{"url":"https://github.com/pdm-project/pdm","tags":["package"]},{"url":"https://pypi.org/project/pdm","tags":["package"]},{"url":"https://github.com/advisories/GHSA-78v8-vpjp-cjqh","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.00197,"epssPercentile":0.09503,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-47764","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47764","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-47764","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-78v8-vpjp-cjqh","ok":true,"note":"GHSA-78v8-vpjp-cjqh"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-47764","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}