CVE-2026-34726
Published:April 02, 2026
Updated:August 06, 2026
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.
Affected Packages
copier (CONDA):
Affected version(s) >=6.1.0 <9.14.1Fix Suggestion:
Update to version 9.14.1copier (CONDA):
Affected version(s) >=6.1.0 <9.14.1Fix Suggestion:
Update to version 9.14.1https://github.com/copier-org/copier.git (GITHUB):
Affected version(s) >=v1.6 <v9.14.1Fix Suggestion:
Update to version v9.14.1copier (PYTHON):
Affected version(s) >=0.9.0 <9.14.1Fix Suggestion:
Update to version 9.14.1copier (PYTHON):
Affected version(s) >=0.9.0 <9.14.1Fix Suggestion:
Update to version 9.14.1Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
4.8
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.4
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.38