Home

Description

Copier library and CLI app for rendering project templates. Prior to 9.9.1, a safe template can currently read and write arbitrary files because Copier exposes a few pathlib.Path objects in the Jinja context which have unconstrained I/O methods. This effectively renders the security model w.r.t. filesystem access useless. This vulnerability is fixed in 9.9.1.

PUBLISHED Reserved 2025-08-08 | Published 2025-08-18 | Updated 2025-08-18 | Assigner GitHub_M




HIGH: 8.5CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

< 9.9.1
affected

References

github.com/...copier/security/advisories/GHSA-3xw7-v6cj-5q8h

github.com/...ommit/3feea3b3ff3c20d80cbb16a2f3b9567ffc5606d1

cve.org (CVE-2025-55201)

nvd.nist.gov (CVE-2025-55201)

Download JSON