Skip to main content
CVE-2026-23968VulnerabilityPublished

CVE-2026-23968: copier · UNIX Symbolic Link (Symlink) Following

Affects copierSource CVE Database V5

0

Not known to be exploited · CVSS 6.8 Medium : upgrade to 9.11.2 when convenient.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
6.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 15% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 9.11.2
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade copier to 9.11.2.

Affected software

ProductAffectedFixed in
copier-orgcopierAffected
  • <9.11.2
Fixed in
  • 9.11.2
PyPIcopierpkg:pypi/copierOther threatsAffected
  • <9.11.2
Fixed in
  • 9.11.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately upgrade Copier to version 9.11.2 or later to benefit from the patched symlink handling. Until upgrade, explicitly set `_preserve_symlinks: true` in Copier configuration to prevent symlink resolution outside the template directory. Validate and audit all templates, especially those sourced externally, to ensure they do not contain malicious symlinks. Incorporate template rendering into secure CI/CD pipelines with strict access controls and sandboxing to limit file system exposure. Monitor for unusual file access or modifications during template generation. Educate developers and DevOps teams about the risks of symlink following and safe template usage. Consider implementing file system permissions and containerization to isolate template rendering processes. Regularly review Copier usage and dependencies to detect outdated versions.

Description

CVE-2026-23968 is a medium severity vulnerability in the Copier library and CLI tool used for rendering project templates. Versions prior to 9.11.2 allow safe templates to include arbitrary files or directories outside the intended template location by exploiting symbolic link (symlink) following behavior combined with the default setting `_preserve_symlinks: false`. This can lead to unintended file disclosure or manipulation during template generation. The vulnerability does not require privileges or authentication but does require user interaction to trigger template rendering. The issue is patched in version 9.11.2. European organizations using Copier versions before 9.

References

Community reviews

Loading reviews…