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.
Published: 2025-08-18
Score: 8.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-25132 Copier's safe template has arbitrary filesystem read/write access
Github GHSA Github GHSA GHSA-3xw7-v6cj-5q8h Copier's safe template has arbitrary filesystem read/write access
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'}


Subscriptions

Copier-org Copier
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 : Deferred

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

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-55201

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2025-08-18T21:20:44Z

Weaknesses