Directory Traversal Affecting pdm package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.2% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-PDM-18520188
  • published5 Aug 2026
  • disclosed4 Aug 2026

Introduced: 4 Aug 2026

CVE-2026-47764  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

There is no fixed version for Debian:12 pdm.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pdm package and not the pdm package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.