{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-55214","published":"2025-08-18T17:15:30.310000Z","last_modified":"2026-06-17T09:41:28.297000Z","status":"Deferred","cvss":{"version":"4.0","score":6.9,"severity":"MEDIUM","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/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","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-22"],"cpes":[],"cpes_truncated":false,"vendors":["copier-org"],"products":["copier-org/copier"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-p7q8-grrj-3m8w","ecosystem":"PyPI","name":"copier","purl":"pkg:pypi/copier","ranges":[{"introduced":"7.1.0","fixed":"9.9.1"}],"versions":["7.1.0","7.2.0","8.0.0","8.1.0","8.2.0","8.3.0","9.0.1","9.1.0","9.1.1","9.2.0","9.3.0","9.3.1","9.4.0","9.4.1","9.5.0","9.6.0","9.7.0","9.7.1","9.8.0","9.9.0"],"versions_truncated":false},{"advisory":"PYSEC-2026-1273","ecosystem":"PyPI","name":"copier","purl":"pkg:pypi/copier","ranges":[{"introduced":"7.1.0","fixed":"9.9.1"}],"versions":["7.1.0","7.2.0","8.0.0","8.1.0","8.2.0","8.3.0","9.0.1","9.1.0","9.1.1","9.2.0","9.3.0","9.3.1","9.4.0","9.4.1","9.5.0","9.6.0","9.7.0","9.7.1","9.8.0","9.9.0"],"versions_truncated":false}],"severity":"medium","priority_score":41,"links":{"html_es":"/es/cve/CVE-2025-55214/","html_en":"/en/cve/CVE-2025-55214/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-55214","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-55214"},"untrusted":{"vendor_name":"copier-org","product_name":"copier","desc_en":"Copier library and CLI app for rendering project templates. From 7.1.0 to before 9.9.1, Copier suggests that it's safe to generate a project from a safe template, i.e. one that doesn't use unsafe features like custom Jinja extensions which would require passing the --UNSAFE,--trust flag. As it turns out, a safe template can currently write files outside the destination path where a project shall be generated or updated. This is possible when rendering a generated directory structure whose rendered path is either a relative parent path or an absolute path. Constructing such paths is possible using Copier's builtin pathjoin Jinja filter and its builtin _copier_conf.sep variable, which is the platform-native path separator. This way, a malicious template author can create a template that overwrites arbitrary files (according to the user's write permissions), e.g., to cause havoc. This vulnerability is fixed in 9.9.1.","affected":[{"untrusted_vendor":"copier-org","untrusted_product":"copier","versions":[]}],"references":[{"url":"https://github.com/copier-org/copier/commit/fdbc0167cc22780b497e4db176feaf6f024757d6","tags":[]},{"url":"https://github.com/copier-org/copier/security/advisories/GHSA-p7q8-grrj-3m8w","tags":[]}]}}