PT-2026-29671
CVE-2026-34730
·
Published
2026-04-01
·
Updated
2026-04-03
Description by
CVSS 3.1
5.5
MediumMetricsAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions
Copier versions prior to 9.14.1
Description
The external data feature in Copier allows templates to load YAML files using paths controlled by the template. This can allow a malicious template to read YAML-parseable local files accessible to the user running Copier, potentially exposing their contents in the rendered output. The issue occurs because there is no containment check to ensure the resulting path stays within the subproject destination. This allows for parent-directory traversal (e.g., '../secret.yml') and absolute path reads (e.g., '/tmp/secret.yml'). The vulnerability exists even without using the
--UNSAFE flag.Recommendations
Update Copier to version 9.14.1 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾