CVE-2026-47763: CWE-61: UNIX Symbolic Link (Symlink) Following in pdm-project pdm
A symbolic link (symlink) following vulnerability exists in pdm versions prior to 2.27.0. The vulnerability allows local attackers to overwrite arbitrary files by placing symlinks in project-local state or configuration file paths that pdm writes to without symlink protection. This can lead to arbitrary file clobbering with the privileges of the user running pdm. The issue affects files such as pdm.toml, .pdm-python, and .python-version. The vulnerability has been fixed in version 2.27.0.
AI Analysis
Technical Summary
pdm, a Python package and dependency manager, in versions before 2.27.0, writes project-local state or configuration files without protecting against symbolic link (symlink) following. If a malicious repository places these files as symlinks, local pdm operations can overwrite the symlink targets, creating an arbitrary file overwrite primitive relative to the invoking user's privileges. Specifically, Config.__init__() resolves the pdm.toml path and _save_config() writes to the resolved target. If pdm.toml is a symlink, pdm config -l updates the target file instead of refusing the write. Other project-local persistence paths like .pdm-python or .python-version are similarly affected. The vulnerability requires the target file to contain parseable TOML for pdm.toml but not for the other sinks. This issue is addressed in pdm version 2.27.0.
Potential Impact
An attacker with local access can exploit this vulnerability to overwrite arbitrary files on the filesystem with the privileges of the user running pdm. This can lead to potential local privilege escalation or disruption of system or user files. The CVSS 4.0 score of 6.8 indicates a medium severity impact with local attack vector and low privileges required but user interaction needed.
Mitigation Recommendations
This vulnerability has been fixed in pdm version 2.27.0. Users should upgrade to version 2.27.0 or later to remediate this issue. No official patch link is provided, but upgrading to the fixed version is the recommended action. Until upgrading, avoid running pdm commands in untrusted repositories that may contain malicious symlinks.
CVE-2026-47763: CWE-61: UNIX Symbolic Link (Symlink) Following in pdm-project pdm
Description
A symbolic link (symlink) following vulnerability exists in pdm versions prior to 2.27.0. The vulnerability allows local attackers to overwrite arbitrary files by placing symlinks in project-local state or configuration file paths that pdm writes to without symlink protection. This can lead to arbitrary file clobbering with the privileges of the user running pdm. The issue affects files such as pdm.toml, .pdm-python, and .python-version. The vulnerability has been fixed in version 2.27.0.
CVSS v4.0
Score 6.8medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
pdm, a Python package and dependency manager, in versions before 2.27.0, writes project-local state or configuration files without protecting against symbolic link (symlink) following. If a malicious repository places these files as symlinks, local pdm operations can overwrite the symlink targets, creating an arbitrary file overwrite primitive relative to the invoking user's privileges. Specifically, Config.__init__() resolves the pdm.toml path and _save_config() writes to the resolved target. If pdm.toml is a symlink, pdm config -l updates the target file instead of refusing the write. Other project-local persistence paths like .pdm-python or .python-version are similarly affected. The vulnerability requires the target file to contain parseable TOML for pdm.toml but not for the other sinks. This issue is addressed in pdm version 2.27.0.
Potential Impact
An attacker with local access can exploit this vulnerability to overwrite arbitrary files on the filesystem with the privileges of the user running pdm. This can lead to potential local privilege escalation or disruption of system or user files. The CVSS 4.0 score of 6.8 indicates a medium severity impact with local attack vector and low privileges required but user interaction needed.
Mitigation Recommendations
This vulnerability has been fixed in pdm version 2.27.0. Users should upgrade to version 2.27.0 or later to remediate this issue. No official patch link is provided, but upgrading to the fixed version is the recommended action. Until upgrading, avoid running pdm commands in untrusted repositories that may contain malicious symlinks.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-19T22:36:16.881Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a722802bf8831d53935aa23
Added to database: 08/04/2026, 17:57:22 UTC
Last enriched: 08/04/2026, 18:13:09 UTC
Last updated: 08/04/2026, 18:13:09 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.