CVE-2026-23968: Copier - Path Traversal
- Cve: CVE-2026-23968
- Name: Copier - Path Traversal
- Description: Copier is a library and CLI app for rendering project templates. Prior to version 9.11.2, Copier suggests that it's safe to generate a project from a safe template, i.e. one that doesn't use unsafe features like custom Jinja extensions which would require passing the `--UNSAFE,--trust` flag. As it turns out, a safe template can currently include arbitrary files/directories outside the local template clone location by using symlinks along with `_preserve_symlinks: false` (which is Copier's default setting). Version 9.11.2 patches the issue.
- Impact: Attackers can include arbitrary files/directories outside the template, potentially exposing sensitive data or system files.
- Remediation: Update to version 9.11.2 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_read, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- Epss score: 0.00239
- Epss percentile: 0.15032
- Assignee: [email protected]
- Published at: 2026-01-21T23:15:52Z
- Age in days: 307
- Modified at: 2026-06-17T10:22:22Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-23968
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-61 | UNIX Symbolic Link (Symlink) Following |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/copier-org/copier/security/advisories/GHSA-xjhm-gp88-8pfx | nvd | 2026-01-21 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/copier-org/copier/commit/b3a7b3772d17cf0e7a4481978188c9f536c8d8f6 | nvd | Patch |
| https://github.com/copier-org/copier/security/advisories/GHSA-xjhm-gp88-8pfx | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| copier-org:copier | < 9.11.2 | no | nvd | /v1/products/copier-org/copier |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| copier-org/copier | commit, fix, package, security_advisory | yes | /v1/repositories/copier-org/copier |
Index
- Repositories: 7
- Repositories high signal: 5
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-01-21
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts