Bug 2511184 (CVE-2026-47764) - CVE-2026-47764 pdm: pdm: Arbitrary file write via path traversal in wheel installation
Summary: CVE-2026-47764 pdm: pdm: Arbitrary file write via path traversal in wheel ins...
Keywords:
Status: NEW
Alias: CVE-2026-47764
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-04 19:02 UTC by OSIDB Bzimport
Modified: 2026-08-05 05:29 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-04 19:02:18 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.