CVE-2026-47764
HIGH 8.4CVSS 4.0PDM wheel installation leads to Path Traversal via overridden write_to_fs
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
- 4 Aug 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-78v8-vpjp-cjqhPYSEC-2026-2861
- Sources
- NVDJSONOSV GHSA-78v8-vpjp-cjqhJSONOSV PYSEC-2026-2861JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.4 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | pdm | < 2.27.0 | 2.27.0 |
References
- https://github.com/pdm-project/pdm/releases/tag/2.27.0 · WEB
- https://github.com/pdm-project/pdm/security/advisories/GHSA-78v8-vpjp-cjqh · WEB
- https://github.com/pdm-project/pdm/pull/3787 · WEB
- https://github.com/pdm-project/pdm · PACKAGE
- https://pypi.org/project/pdm · PACKAGE
- https://github.com/advisories/GHSA-78v8-vpjp-cjqh · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-47764 · ADVISORY
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 4 Aug 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Jun 2026)