Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-47763: CWE-61: UNIX Symbolic Link (Symlink) Following in pdm-project pdm

0
Medium
VulnerabilityCVE-2026-47763cvecve-2026-47763cwe-61
Published: 08/04/2026 (08/04/2026, 17:29:41 UTC)
Source: CVE Database V5
Vendor/Project: pdm-project
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

pdm
pkg:pypi/pdm
Affected versions
<2.27.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/04/2026, 18:13:09 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses