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.

Project Subscriptions

No data.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-hgjq-p8cr-gg4h Copier `_external_data` allows path traversal and absolute-path local file read without unsafe mode
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 02 Apr 2026 20:30:00 +0000

Type Values Removed Values Added
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.
Title Copier `_external_data` allows path traversal and absolute-path local file read without unsafe mode
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-04-02T18:09:16.007Z

Reserved: 2026-03-30T18:41:20.754Z

Link: CVE-2026-34730

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-04-02T19:21:32.560

Modified: 2026-04-02T19:21:32.560

Link: CVE-2026-34730

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses