CVE-2026-145570
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| copier-org | copier | {"startIncluding":"8.0.0","endExcluding":"9.17.2"} | 9.17.2 |
References
- https://github.com/copier-org/copier/blob/v9.17.1/copier/_main.py#L698-L705
- https://github.com/copier-org/copier/commit/1ae1a9461e80662a4a11b62f423d56590dfb93f6
- https://github.com/copier-org/copier/releases/tag/v9.17.2
- https://github.com/copier-org/copier/security/advisories/GHSA-rg63-g45r-jc58
- https://www.vulncheck.com/advisories/copier-8.0.0-before-9.17.2-arbitrary-file-read-via-symlinked-jinja-include
CWEs
CWE-59
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.