UNIX Symbolic Link (Symlink) Following Affecting copier package, versions [,9.11.2)


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.22% (13th 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-COPIER-15054509
  • published22 Jan 2026
  • disclosed21 Jan 2026
  • creditUnknown

Introduced: 21 Jan 2026

CVE-2026-23986  (opens in a new tab)
CWE-61  (opens in a new tab)

How to fix?

Upgrade copier to version 9.11.2 or higher.

Overview

copier is an A library for rendering project templates.

Affected versions of this package are vulnerable to UNIX Symbolic Link (Symlink) Following via the symlink resolution process in safe templates when _preserve_symlinks is set to true. An attacker can overwrite arbitrary files on the filesystem, within the user's write permissions, by crafting a malicious template that uses the generated directory structure functionality.

CVSS Base Scores

version 4.0
version 3.1