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.
https://github.com/copier-org/copier/security/advisories/GHSA-rg63-g45r-jc58
https://github.com/copier-org/copier/releases/tag/v9.17.2
https://github.com/copier-org/copier/commit/1ae1a9461e80662a4a11b62f423d56590dfb93f6
https://github.com/copier-org/copier/blob/v9.17.1/copier/_main.py#L698-L705