Skip to main content
CVE-2026-145570VulnerabilityPublished

Copier 8.0.0 before 9.17.2 contains an arbitrary file read vulnerability that allows malicious templates to read files

Affects copierSource GCVE Database

0
Compare
Authoritative record:CVE-2026-145570· Medium 6.8

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

Data as of 5 Dec 2026, 19:57 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
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

A fix is available in Copier version 9.17.2 and later. Users should upgrade to version 9.17.2 or newer to remediate this vulnerability. Until then, avoid using untrusted templates or enabling the _preserve_symlinks option with untrusted sources. No vendor advisory or patch links were provided, so verify the patch status with the official Copier project resources.

Description

Copier versions from 8.0.0 up to but not including 9.17.2 contain an arbitrary file read vulnerability. This flaw allows attackers to craft malicious templates that use symbolic links and the Jinja FileSystemLoader to read files outside the intended template directory. Exploitation can lead to unauthorized disclosure of sensitive files such as credentials or SSH keys when generating projects without the --trust option.

References

Community reviews

Loading reviews…