CVEvulnerability
CVE-2026-34730
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-04-02
- Last modified
- 2026-07-24
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-22
Description
Copier is a library and CLI app for rendering project templates. Prior to version 9.14.1, Copier's _external_data feature allows a template to load YAML files using template-controlled paths. If untrusted templates are in scope, a malicious template can read attacker-chosen YAML-parseable local files that are accessible to the user running Copier and expose their contents in rendered output. This issue has been patched in version 9.14.1.
Affected configurations
• copier-org copier (< 9.14.1)
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/copier-org/copier/commit/5413062eb17b73dc885f5e645cdc161e69ef641b Patch
- https://github.com/copier-org/copier/releases/tag/v9.14.1 Release Notes
- https://github.com/copier-org/copier/security/advisories/GHSA-hgjq-p8cr-gg4h Exploit, Vendor Advisory
- https://github.com/copier-org/copier/security/advisories/GHSA-hgjq-p8cr-gg4h Exploit, Vendor Advisory