cvelo
P3 · MediumCVSS 5.5

Copier 8.0.0 before 9.17.2 Arbitrary File Read via Symlinked Jinja Include

  • CVE-2026-145570
  • EUVD-2026-145708

Summary

Copier versions 8.0.0 before 9.17.2 contain an arbitrary file read vulnerability. A malicious template can ship a symlink, enable the _preserve_symlinks setting, and reference the symlink with an include tag, causing the Jinja FileSystemLoader to follow it outside the template root. This allows files such as credentials or SSH keys to be rendered into generated projects. The attack works without the --trust flag. The record is rated 5.5 CVSS and is not listed in the CISA known exploited vulnerabilities catalog. Engineers using affected Copier versions to render third-party templates should upgrade to 9.17.2 or later.

AI summary · verify against the vendor advisory

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.

Text from the CVE.org record.

Recommendation

  • copier-org copier

    • If you run a version from 8.0.0 to before 9.17.2update to 9.17.2 or laterMajor version change: expect breaking changes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • copier-org copier

    Affected versionsFixed in
    from 8.0.0 to before 9.17.29.17.2

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.