CVE-2025-55201 json
Copier safe template has arbitrary filesystem read/write access
published 2025-08-18 14 mo ago modified 2026-07-07 4 mo ago also EUVD-2025-25132 , GHSA-3xw7-v6cj-5q8h , PYSEC-2026-1271
- cvss
- 8.5
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 20%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 14 mo ago
Exploit prediction
0.27% chance of exploitation in the next 30 days, higher than 20% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.5 | 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 |
| CNA | 4.0 | 8.5 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | copier | <9.9.1 |
9.9.1 |
Affected products
- copier-org copier
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/copier-org/copier/commit/3feea3b3ff3c20d80cbb16a2f3b9567ffc5606d1
web
-
github.com
/copier-org/copier/security/advisories/GHSA-3xw7-v6cj-5q8h
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-55201
advisory
-
github.com
/copier-org/copier
package
-
pypi.org
/project/copier
package
-
github.com
/advisories/GHSA-3xw7-v6cj-5q8h
advisory
Sources
- CVE List CVE-2025-55201
- GitHub Advisory GHSA-3xw7-v6cj-5q8h
- NVD CVE-2025-55201
- OSV PYSEC-2026-1271
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.