CVE-2026-47764

High

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.

SeverityHigh
CVSS8.4
Exploit probability—
ProductPdm
PublishedAug 4, 2026
First seenAug 4, 2026

How to fix

Update
  • pdm2.27.0 or later

Affected products

ProductAffected versionsFixed in
pdmPyPIv < 2.27.02.27.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.