CVE-2025-55201CWE-22

Copier safe template has arbitrary filesystem read/write access

High · published August 18, 2025

CVSS v4.0
8.5
EPSS
0%
Percentile
16.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.5 · HIGH
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
EPSS
0.00259 · 16.7th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-08-18T16:21Z
EPSS history
Timeline
  • 18 AUG 16:21Z
    Copier safe template has arbitrary filesystem read/write access
    cvelistv5