Copier safe template has arbitrary filesystem read/write access
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| copier-org | copier | before 9.9.1 | 9.9.1 | Patch available | CNA |
| — | copier (PyPI) | before 9.9.1 | 9.9.1 | Patch available | GHSA-3xw7-v6cj-5q8h |
- copier Vendorcopier-org Affected before 9.9.1 Fixed in 9.9.1 Patch available CNA
- copier (PyPI) Vendor— Affected before 9.9.1 Fixed in 9.9.1 Patch available GHSA-3xw7-v6cj-5q8h
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:copier-org:copier:*:*:*:*:*:*:*:* | — | — | copier-org |
- cpe:2.3:a:copier-org:copier:*:*:*:*:*:*:*:* Versions — — ·copier-org
Remediation
- Fix · CNA copier (copier-org) Fixed in 9.9.1
- Fix · GHSA-3xw7-v6cj-5q8h copier (PyPI) Fixed in 9.9.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-55201
- 2026-10-03 Alias added: GHSA-3xw7-v6cj-5q8h
References
More copier-org vulnerabilities
- TI-2026-38919 Copier: trust-prefix bypass via path traversal runs tasks unprompted CVSS 4.0HIGH 8.8
- TI-2026-45000 Path traversal in copier-org copier CVSS 3.1HIGH 7.5
- TI-2025-34889 Copier safe template has filesystem write access outside destination path CVSS 4.0MEDIUM 6.9
- TI-2026-26974 Copier `_external_data` allows path traversal and absolute-path local file read without unsafe mode CVSS 3.1MEDIUM 5.5
- TI-2026-26970 Copier `_subdirectory` allows template root escape via parent-directory traversal CVSS 3.1MEDIUM 4.4
- TI-2026-19328 Copier safe template has arbitrary filesystem write access via directory symlinks when _preserve_symlinks: true CVSS 4.0MEDIUM 6.9
Sources
- CVE-2025-55201 · CVE Program
- CVE-2025-55201 · NVD
- FIRST EPSS
- GHSA-3xw7-v6cj-5q8h · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences