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.
History

Mon, 18 Aug 2025 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Copier-org
Copier-org copier
Vendors & Products Copier-org
Copier-org copier

Mon, 18 Aug 2025 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 18 Aug 2025 16:45:00 +0000


Mon, 18 Aug 2025 16:30:00 +0000

Type Values Removed Values Added
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.
Title Copier safe template has arbitrary filesystem read/write access
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 8.5, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-08-18T17:37:53.420Z

Reserved: 2025-08-08T21:55:07.965Z

Link: CVE-2025-55201

cve-icon Vulnrichment

Updated: 2025-08-18T17:37:46.604Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-08-18T17:15:29.933

Modified: 2025-08-18T20:16:28.750

Link: CVE-2025-55201

cve-icon Redhat

No data.