Skip to content
OpenAdvisories
High · 8.5 CVE-2025-55201 EUVD-2025-25132GHSA-3xw7-v6cj-5q8hPYSEC-2026-1271

Copier safe template has arbitrary filesystem read/write access

Published Aug 18, 2025 · Updated Aug 18, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
copier-org copier < 9.9.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI copier < 9.9.1 9.9.1 GHSA-3xw7-v6cj-5q8h

References