CVE-2025-55201Published Aug 18, 2025 · Aug 18Updated Nov 11
Copier safe template has arbitrary filesystem read/write access
copier-org copier
High8.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| copier PyPI |
|
|
Original 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.
From the CVE record · GitHub_M