Copier safe template has arbitrary filesystem read/write access
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| copier-org | copier | affected |
|
No data.
No data.
| Vendor | Product | Versions |
|---|---|---|
| Copier-org | Copier | — |
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-25132 | Copier's safe template has arbitrary filesystem read/write access |
Github GHSA |
GHSA-3xw7-v6cj-5q8h | Copier's safe template has arbitrary filesystem read/write access |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.275% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Copier-org
Copier-org copier |
|
| Vendors & Products |
Copier-org
Copier-org copier |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Copier safe template has arbitrary filesystem read/write access | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV4_0
|