CVE Catalog

CVE-2026-145570

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.26%

18th percentile - higher than 18% of all known CVEs

Summary

Copier version 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.

Risk Assessment

A malicious template could disclose sensitive files such as credentials or SSH keys, potentially leading to unauthorized access to systems. The risk occurs even without the --trust flag, increasing the likelihood of exploitation.

Recommendation

Update Copier to version 9.17.2 or later. Avoid using untrusted templates and consider validating templates before use.

Other vulnerabilities in Copier

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS