High severityNVD Advisory· Published Aug 4, 2026· Updated Aug 5, 2026
CVE-2026-47764
CVE-2026-47764
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pdmPyPI | < 2.27.0 | 2.27.0 |
Affected products
4- osv-coords3 versionspkg:rpm/opensuse/python-pdm&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/python-pdm&distro=openSUSE%20Tumbleweedpkg:pypi/pdm
< 2.22.3-bp160.2.1+ 2 more
- (no CPE)range: < 2.22.3-bp160.2.1
- (no CPE)range: < 2.28.0-1.1
- (no CPE)range: < 2.27.0
Patches
Vulnerability mechanics
References
4News mentions
0No linked articles in our index yet.