CVE-2026-34730
MEDIUM 5.5CVSS 3.1Copier `_external_data` allows path traversal and absolute-path local file read without unsafe mode
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.
- Published
- 2 Apr 2026
- Last modified
- 24 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-hgjq-p8cr-gg4hPYSEC-2026-2135
- Sources
- NVDJSONOSV GHSA-hgjq-p8cr-gg4hJSONOSV PYSEC-2026-2135JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | copier-org | copiercpe:2.3:a:copier-org:copier:*:*:*:*:*:python:*:* |
< 9.14.1 | 9.14.1 |
| OSV | PyPI | copier | < 9.14.1 | 9.14.1 |
References
- https://github.com/copier-org/copier/commit/5413062eb17b73dc885f5e645cdc161e69ef641b · Patch, WEB, FIX
- https://github.com/copier-org/copier/releases/tag/v9.14.1 · Release Notes, WEB, ADVISORY
- https://github.com/copier-org/copier/security/advisories/GHSA-hgjq-p8cr-gg4h · Exploit, Vendor Advisory, WEB, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2026-34730 · ADVISORY
- https://github.com/copier-org/copier · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 2 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Apr 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 1 Apr 2026)