All vulnerabilities

PyPI

CVE-2026-145570

Copier 8.0.0 before 9.17.2 Arbitrary File Read via Symlinked Jinja Include

Severity
Medium 6.8
Published
5 Dec 2026
Last changed
5 Dec 2026
Added to UpHeron
5 Dec 2026
Fixed in
9.17.2
Exploit chance
0.3% in the next 30 daysHigher than 18% of CVEs. EPSS by FIRST, 6 Dec 2026
Weakness
Link following (CWE-59)
Attack
Needs local access · No login needed · Needs someone to view a page or file
Attacker can
Read data
CVSS vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
copierPyPI · osv:PyPI:copier
  • From 8.0.0 before 9.17.2

About copier

Weekly downloads (PyPI)
669,130PyPI Stats, 5 Dec 2026

This is the only vulnerability in copier in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-145570