CVE 8.5 HIGH

Copier safe template has arbitrary filesystem read/write access_CVE-2025-55201

8.5 / 10
HIGH
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

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.

Basic Information

ID CVE-2025-55201
Source GitHub_M
Published Aug 18, 2025 at 16:21
Modified Aug 18, 2025 at 17:37

Affected Product

Vendor copier-org
Product copier
Version < 9.9.1
Affected Versions copier-org copier < 9.9.1

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.