VDB

CVE-2026-47764

CVE-2026-47764 PUBLISHED CVSS 8.4 HIGH

Reported by GitHub_M · Published August 4, 2026

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.

Risk Scores

CVSS 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

Affected Products

VendorProductVersions
pdm-projectpdm< 2.27.0
PyPIpdm0
pdm-projectpdm< 2.27.0

Timeline

  • Jun 10, 2026 CVE Published
  • Jun 12, 2026 Security Advisory
  • Aug 5, 2026 CVE Updated
  • Aug 7, 2026 EPSS Score
  • Aug 24, 2026 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›