CVE catalog

CVE-2026-47764

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 s

[CVE catalog]

Severity
High · CVSS 8.4CVSS: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
Published
Source
[NVD] · [CVE record]
EPSS
0.20% · Oct 25, 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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpdmsid2.29.3-1fixed
Debianpdmforky2.29.3-1fixed
Debianpdmtrixie2.20.1+ds1-2vulnerable
Debianpdmbookworm2.2.1+ds1-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpdmsourcesid2.27.0-1not yet assignedNot reportedNot reported
Debianpdmsourceforky2.27.0-1not yet assignedNot reportedNot reported
Debianpdmsourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianpdmsourcebookworm(unfixed)not yet assignedNot reportedNot reported

Notes

[trixie] pdm: Minor issue [bookworm] pdm: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-pdm]Affected

    Source package: [pdm]

    Details (2)
    • 2.2.1+ds1-1 · all · bookworm

      Affected

      nvd · pdm · debian · bookworm; nvd · pdm · debian · 12

    • 2.2.1+ds1-1 · all · bookworm

      Affected

      nvd · pdm · debian · bookworm; nvd · pdm · debian · 12

[Debian 13 (Trixie)]

  • [python3-pdm]Affected

    Source package: [pdm]

    Details (2)
    • 2.20.1+ds1-2 · all · trixie

      Affected

      nvd · pdm · debian · 13

    • 2.20.1+ds1-2 · all · trixie

      Affected

      nvd · pdm · debian · 13

Observed:

References