CVE-2026-47763
published medium CVSS 4.0 · 6.8pdm: Project-Local State and Config Writes Follow Symlinks
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. In versions prior to 2.27.0, pdm writes several project-local state or configuration files without symlink protection. If a malicious repository places those files as symlinks, local PDM operations can overwrite the symlink targets. This creates an arbitrary file clobber primitive relative to the privileges of the invoking user. Config.__init__() resolves the project-local pdm.toml path and _save_config() writes to the resolved target. If PROJECT_ROOT/pdm.toml is a symlink to another file, pdm config -l ... updates the target file instead of refusing the write. The same general problem exists for other project-local persistence paths that are written directly with no lstat / O_NOFOLLOW protection. For the pdm.toml PoC specifically, the target file must already contain parseable TOML. Otherwise the load step fails before the write path is reached. That parser constraint does not apply to the .pdm-python or .python-version sinks. 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
- 6.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:L/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-61 CWE-61: UNIX Symbolic Link (Symlink) Following
References
2Provider assertions
2GitHub_M · cna
pdm: Project-Local State and Config Writes Follow Symlinks
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 32177ee004539da270ddcba0c7a5dc08e03a4cccddd8e570c41f002710166bf3
- Ingested
- 23 Sep 2026, 09:16:58 UTC
- Source record
- Official CVE record