Vulnerability · Published Aug 4, 2026 · Assigned by GitHub_M
CVE-2026-47764pdm: Path traversal in wheel installation via overridden write_to_fs
High 8.4
In plain English
A high-severity path traversal in pdm from pdm-project. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | pdm | no fix listed | DEBIAN-CVE-2026-47764 |
| Debian:13 | pdm | no fix listed | DEBIAN-CVE-2026-47764 |
| Debian:14 | pdm | 2.27.0-1 | DEBIAN-CVE-2026-47764 |
| PyPI | pdm | 2.27.0 | PYSEC-2026-2861 |
| PyPI | pdm | 2.27.0 | GHSA-78v8-vpjp-cjqh |
| Ubuntu:26.04:LTS | pdm | no fix listed | UBUNTU-CVE-2026-47764 |
| Ubuntu:26.10 | pdm | no fix listed | UBUNTU-CVE-2026-47764 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| pdm-project | pdm | < 2.27.0 |
Weakness: CWE-22 · 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
References
- https://github.com/pdm-project/pdm/security/advisories/GHSA-78v8-vpjp-cjqh x_refsource_CONFIRM
- https://github.com/pdm-project/pdm/releases/tag/2.27.0 x_refsource_MISC