# CVE-2025-55201: Copier safe template has arbitrary filesystem read/write access

- Severity: High 8.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 23% of CVEs (2026-12-01)
- Published: 2025-08-18T16:21:25.576Z
- Modified: 2026-07-07T17:57:08.156Z
- Also known as: GHSA-3xw7-v6cj-5q8h, PYSEC-2026-1271
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- copier-org copier: < 9.9.1
- copier (PyPI): before 9.9.1

## Every score

- GitHub_M: CVSS:4.0 8.5 High `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`
- GitHub: CVSS:4.0 High `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`
- PyPA Advisory Database: 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`

## References

- <https://github.com/copier-org/copier/security/advisories/GHSA-3xw7-v6cj-5q8h> (web)
- <https://github.com/copier-org/copier/commit/3feea3b3ff3c20d80cbb16a2f3b9567ffc5606d1> (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)

## Sources

- CVE List: [CVE-2025-55201](https://www.cve.org/CVERecord?id=CVE-2025-55201), CVE Terms of Use, modified 2025-08-18
- GitHub Advisory Database: [GHSA-3xw7-v6cj-5q8h](https://github.com/advisories/GHSA-3xw7-v6cj-5q8h), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2025-55201](https://nvd.nist.gov/vuln/detail/CVE-2025-55201), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1271](https://osv.dev/vulnerability/PYSEC-2026-1271), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-55201 · Whole record: https://cve.day/CVE-2025-55201.json · Rebuilt by cve.day 2026-11-25T22:59:02.660Z
