CVE-2026-145570
Copier 8.0.0 before 9.17.2 Arbitrary File Read via Symlinked Jinja Include
Description
Copier 8.0.0 before 9.17.2 contains an arbitrary file read vulnerability that allows malicious templates to read files outside the template root via symlinks followed by the Jinja FileSystemLoader. Attackers can ship a symlink, enable _preserve_symlinks, and reference it with an include tag to render credentials or SSH keys into generated projects without --trust.
INFO
Published Date :
Dec. 5, 2026, 2:43 p.m.
Last Modified :
Dec. 5, 2026, 2:43 p.m.
Remotely Exploit :
No
Source :
VulnCheck
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | 83251b91-4cc7-4094-a5c7-464a1b83ea10 | ||||
| CVSS 3.1 | MEDIUM | MITRE-CVE | ||||
| CVSS 4.0 | MEDIUM | 83251b91-4cc7-4094-a5c7-464a1b83ea10 |
Solution
- Update Copier to version 9.17.2 or later.
- Disable _preserve_symlinks if upgrading is not possible.
- Avoid trusting malicious templates.
- Review template security practices.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-145570 vulnerability anywhere in the article.