Skip to main content
VulnerabilityPublished

CVE-2026-145570: copier · Link Following

Affects copierSource CVE Database V5

0
Compare

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

Data as of 5 Dec 2026, 15:00 UTC

CVSS 4.0 base score
6.8Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.06.8
CNA (VulnCheck)CVSS 3.15.5
Patch
Available – fixed in 9.17.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 5 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: 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 5 Dec 2026.

What to do

Upgrade copier to 9.17.2.

Affected software

ProductAffectedFixed in
copier-orgcopierAffected
  • >=8.0.0 <9.17.2
Fixed in
  • 9.17.2
PyPIcopierpkg:pypi/copierOther threatsAffected
  • >=8.0.0 <9.17.2
Fixed in
  • 9.17.2

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

AI-suggested

Upgrade copier to version 9.17.2 or later, where this vulnerability is fixed. Until then, avoid enabling the _preserve_symlinks option with untrusted templates and do not use untrusted templates without the --trust flag. No other vendor advisories indicate alternative mitigations or that the issue is already mitigated.

Description

Copier versions from 8.0.0 up to but not including 9.17.2 have an arbitrary file read vulnerability due to improper link resolution before file access. This flaw allows malicious templates to read files outside the intended template root by leveraging symbolic links combined with the Jinja FileSystemLoader. An attacker can craft a symlink, enable the _preserve_symlinks option, and use an include tag to expose sensitive files such as credentials or SSH keys in generated projects without requiring trusted execution.

References

Community reviews

Loading reviews…