UNIX Symbolic Link (Symlink) Following Affecting pdm package, versions [,2.27.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.02% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-PDM-17400353
  • published22 Jun 2026
  • disclosed10 Jun 2026
  • creditXueMian (ICT.RUN)

Introduced: 10 Jun 2026

NewCVE-2026-47763  (opens in a new tab)
CWE-61  (opens in a new tab)

How to fix?

Upgrade pdm to version 2.27.0 or higher.

Overview

pdm is an A modern Python package and dependency manager supporting the latest PEP standards

Affected versions of this package are vulnerable to UNIX Symbolic Link (Symlink) Following via the Config.__init__. An attacker can overwrite arbitrary files outside the repository root by placing symlinks in project-local configuration paths and tricking a user into running local operations that write to these paths.

Note: This is only exploitable if the target file already exists and, for the pdm.toml sink, contains parseable TOML.

CVSS Base Scores

version 4.0
version 3.1