CVE-2026-145570: copier · Link Following
Affects copierSource CVE Database V5
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
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.8 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.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:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| copier-orgcopier | Affected
| Fixed in
|
PyPIcopierpkg:pypi/copierOther threats | Affected
| Fixed in
|
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
- github.com/copier-org/copier/security/advisories/GHSA-rg63-g45r-jc58 (opens in a new tab)
- github.com/copier-org/copier/commit/1ae1a9461e80662a4a11b62f423d56590dfb93f6 (opens in a new tab)
- github.com/copier-org/copier/releases/tag/v9.17.2 (opens in a new tab)
- github.com/copier-org/copier/blob/v9.17.1/copier/_main.py (opens in a new tab)
- vulncheck.com/advisories/copier-8.0.0-before-9.17.2-arbitrary-file-read-via-symlinked-jinja-include (opens in a new tab)