CVE-2026-47764
published high CVSS 4.0 · 8.4pdm: Path traversal in wheel installation via overridden write_to_fs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pdm-project | — | pdm< 2.27.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-pdmnoarch | Advisory build | 2.22.3-bp160.2.1 | OPENSUSE-SU-2026:21161-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pdmaarch64 | Advisory build | 2.28.0-1.1 | OPENSUSE-SU-2026:11124-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pdmppc64le | Advisory build | 2.28.0-1.1 | OPENSUSE-SU-2026:11124-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pdms390x | Advisory build | 2.28.0-1.1 | OPENSUSE-SU-2026:11124-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pdmx86_64 | Advisory build | 2.28.0-1.1 | OPENSUSE-SU-2026:11124-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pdmaarch64 | Advisory build | 2.28.0-1.1 | OPENSUSE-SU-2026:11124-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pdmppc64le | Advisory build | 2.28.0-1.1 | OPENSUSE-SU-2026:11124-1 |
Show 6 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pdms390x | Advisory build | 2.28.0-1.1 | OPENSUSE-SU-2026:11124-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pdmx86_64 | Advisory build | 2.28.0-1.1 | OPENSUSE-SU-2026:11124-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pdmaarch64 | Advisory build | 2.28.0-1.1 | OPENSUSE-SU-2026:11124-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pdmppc64le | Advisory build | 2.28.0-1.1 | OPENSUSE-SU-2026:11124-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pdms390x | Advisory build | 2.28.0-1.1 | OPENSUSE-SU-2026:11124-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pdmx86_64 | Advisory build | 2.28.0-1.1 | OPENSUSE-SU-2026:11124-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pdm-project | pdm | < 2.27.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
2Provider assertions
2GitHub_M · cna
pdm: Path traversal in wheel installation via overridden write_to_fs
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1671631539241cde524298de9afffc0ff43cf4b666957b671d1925b75da2e634
- Ingested
- 23 Sep 2026, 09:16:58 UTC
- Source record
- Official CVE record