Back to CVE List

CVE-2026-34726

MEDIUM SEVERITY

CVSS Score & Metrics

Base Score
4.4 / 10
Vector String
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Vulnerability Description

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.

Vulnerability Details

Published Date
Last Modified
CWE ID
CWE-22
Source
GitHub
Vendor
pip
Product
copier

External References

Discussion (0)

Add Comment

No comments yet. Be the first!