CVE-2026-47763 Details
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.
A vulnerability exists in PDM (Python Development Manager) versions prior to 2.27.0, where the tool writes several project-local state or configuration files without proper symlink protection. This flaw allows local PDM operations to overwrite the targets of symlinks if a malicious repository creates those files as links. The issue introduces an arbitrary file clobbering vulnerability, relative to the privileges of the user running the command. The problem primarily affects the 'pdm.toml' file, but also extends to other project-local files such as '.pdm-python' and '.python-version'. The vulnerability arises because PDM does not check for symlinks or use available protections when writing to these files, allowing for destructive modifications of local files outside the project root.
Users are advised to update PDM to version 2.27.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 4, 2026CISA-ADP
Assessed Aug 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/pdm-project/pdm/security/advisories/GHSA-ghq2-5c67-fprm | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/pdm-project/pdm/releases/tag/2.27.0 | [email protected] | Release NotesVendor |
| https://github.com/pdm-project/pdm/security/advisories/GHSA-ghq2-5c67-fprm | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-61 | UNIX Symbolic Link (Symlink) Following | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| pdm | 2.26.9 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 5, 2026 | CVE Modified | CISA-ADP |
| Aug 4, 2026 | New CVE Received | [email protected] |
Volerion