CVE-2026-34730
Copier is a library and CLI app for rendering project templates. …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/copier-org/copier/security/advisories/GHSA-hgjq-p8cr-gg4h
- github.com/advisories/GHSA-hgjq-p8cr-gg4h
- github.com/copier-org/copier/commit/5413062eb17b73dc885f5e645cdc161e69ef641b
- github.com/copier-org/copier/releases/tag/v9.14.1
- nvd.nist.gov/vuln/detail/CVE-2026-34730
- nvd.nist.gov/vuln/detail/CVE-2026-34730
- cve.org/CVERecord?id=CVE-2026-34730
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.