← back
CVE-2025-55201

Copier safe template has arbitrary filesystem read/write access

CVSS 8.5 HIGHEPSS 0.2%CWE-22
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.
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected products
copier-org · copier

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →