Description
Copier is a library and CLI app for rendering project templates. From 9.5.0 through 9.16.0, percent-encoded parent-directory segments or encoded path separators in a template URL can match a configured trusted repository prefix before an HTTP server or Git transport decodes the path, allowing unsafe template features from a repository outside the trusted prefix to run after user interaction. This issue is fixed in version 9.17.0.
Severity (CVSS)
| Base score | 7.5 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-22 — CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-180 — CWE-180: Incorrect Behavior Order: Validate Before Canonicalize
Affected products
| Vendor | Product | Versions |
|---|---|---|
| copier-org | copier | >= 9.5.0, <= 9.16.0 |
References
- https://github.com/copier-org/copier/security/advisories/GHSA-34mv-rjq9-5mch (x_refsource_CONFIRM)
- https://github.com/copier-org/copier/commit/7408f0d6287a7bf452715fd9f25dc54eaba3c295 (x_refsource_MISC)
- https://github.com/copier-org/copier/releases/tag/v9.17.0 (x_refsource_MISC)
Generated from the official CVE List on 01 Aug 2026 07:04 UTC.