CVE-2025-55201
HIGH 8.5CVSS 4.0Copier's safe template has arbitrary filesystem read/write access
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
- 18 Aug 2025
- Last modified
- 7 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-3xw7-v6cj-5q8hPYSEC-2026-1271
- Sources
- NVDJSONOSV GHSA-3xw7-v6cj-5q8hJSONOSV PYSEC-2026-1271JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | copier | < 9.9.1 | 9.9.1 |
References
- https://github.com/copier-org/copier/commit/3feea3b3ff3c20d80cbb16a2f3b9567ffc5606d1 · WEB
- https://github.com/copier-org/copier/security/advisories/GHSA-3xw7-v6cj-5q8h · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-55201 · ADVISORY
- https://github.com/copier-org/copier · PACKAGE
- https://pypi.org/project/copier · PACKAGE
- https://github.com/advisories/GHSA-3xw7-v6cj-5q8h · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 18 Aug 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Aug 2025)