CVE-2026-34730
Copier `_external_data` allows path traversal and absolute-path local file read without unsafe mode
Auswirkung
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.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | copier | <= 9.14.0 | 9.14.1 |
Betroffene Produkte · Copier-org
| Produkt | Betroffene Versionen |
|---|---|
| Copier | vor 9.14.1 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-hgjq-p8cr-gg4h
- https://github.com/copier-org/copier/security/advisories/GHSA-hgjq-p8cr-gg4h
- https://nvd.nist.gov/vuln/detail/CVE-2026-34730
- https://github.com/copier-org/copier/commit/5413062eb17b73dc885f5e645cdc161e69ef641b
- https://github.com/copier-org/copier/releases/tag/v9.14.1