copier
Affected
- introduced
0, fixed9.14.1(ecosystem)
Fixed versions
9.14.1
Fix
- Fixed version
9.14.1pip install --upgrade copier==9.14.1
Advisory
Also known as: CVE-2026-34726, GHSA-85v3-4m8g-hrh6
The record has no summary.
Copier is a library and CLI app for rendering project templates. Prior to version 9.14.1, Copier's _subdirectory setting is documented as the subdirectory to use as the template root. However, the current implementation accepts parent-directory traversal such as .. and uses it directly when selecting the template root. As a result, a template can escape its own directory and make Copier render files from the parent directory without --UNSAFE. This issue has been patched in version 9.14.1.
Medium Basis: CVSS v3 score 4.4, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
0, fixed 9.14.1 (ecosystem)9.14.1
9.14.1pip install --upgrade copier==9.14.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0