CVE-2026-47764 json
pdm: Path traversal in wheel installation via overridden write_to_fs
published 5mo ago modified 18d ago also EUVD-2026-52854 , GHSA-78v8-vpjp-cjqh , PYSEC-2026-2861
- cvss
- 8.4
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 9%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi pdm 2.27.0
- frostming pdm 2.27.0
- pdm Debian 14 2.27.0-1
debian advisories DEBIAN-CVE-2026-47764
- python-pdm openSUSE Leap 16.0 2.22.3-bp160.2.1
- python-pdm openSUSE Tumbleweed 2.28.0-1.1
opensuse advisories openSUSE-SU-2026:21161-1openSUSE-SU-2026:11124-1
- github.com/pdm-project/pdm#3787 pull request
- github.com/pdm-project/pdm/releases/tag/2.27.0 release
Is CVE-2026-47764 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-47764 updated cvss 7.3
pdm: pdm: Arbitrary file write via path traversal in wheel installation
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 3mo ago
Exploit prediction
0.20% chance of exploitation in the next 30 days, higher than 9% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 4.0 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pdm | <2.27.0 |
2.27.0 |
Affected products
- pdm-project pdm
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/pdm-project/pdm/pull/3787
web
-
github.com
/pdm-project/pdm/security/advisories/GHSA-78v8-vpjp-cjqh
web
-
github.com
/pdm-project/pdm/releases/tag/2.27.0
web
-
github.com
/pdm-project/pdm
package
-
pypi.org
/project/pdm
package
-
github.com
/advisories/GHSA-78v8-vpjp-cjqh
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-47764
advisory
Sources
- CVE List CVE-2026-47764
- GitHub Advisory GHSA-78v8-vpjp-cjqh
- NVD CVE-2026-47764
- OSV PYSEC-2026-2861
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.