CVE Catalog

CVE-2025-55201

HighCVSS 8.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.29%

24th percentile - higher than 24% of all known CVEs

Summary

Copier library and CLI app for rendering project templates prior to 9.9.1 allows a safe template to read and write arbitrary files because Copier exposes pathlib.Path objects in the Jinja context with unconstrained I/O methods. This vulnerability is fixed in 9.9.1.

Risk Assessment

This could allow a malicious template to access sensitive files on the system, leading to data leakage or file modification.

Recommendation

Update Copier to version 9.9.1 or later and avoid using untrusted templates.

Other vulnerabilities in Copier

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS