Read the docs
TI-2026-19310 Aliases CVE-2026-23968GHSA-xjhm-gp88-8pfx

Copier safe template has arbitrary filesystem read access via symlinks when _preserve_symlinks: false

Priority LOW 30CWE-61Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-61 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00241 15th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed copier (copier-org): 9.11.2copier (PyPI): 9.11.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
copier-orgcopierbefore 9.11.29.11.2Patch availableCNA
—copier (PyPI)before 9.11.29.11.2Patch availableGHSA-xjhm-gp88-8pfx
  • copier Vendorcopier-org Affected before 9.11.2 Fixed in 9.11.2 Patch available CNA
  • copier (PyPI) Vendor— Affected before 9.11.2 Fixed in 9.11.2 Patch available GHSA-xjhm-gp88-8pfx

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:copier-org:copier:*:*:*:*:*:python:*:*before 9.11.2Vulnerablecopier-org
  • cpe:2.3:a:copier-org:copier:*:*:*:*:*:python:*:* Versions before 9.11.2 Vulnerable ·copier-org

Remediation

  • Fix · CNA copier (copier-org) Fixed in 9.11.2
  • Fix · GHSA-xjhm-gp88-8pfx copier (PyPI) Fixed in 9.11.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-23968
  2. 2026-10-03 Alias added: GHSA-xjhm-gp88-8pfx

References

  • TI-2026-26974 Copier `_external_data` allows path traversal and absolute-path local file read without unsafe mode CVSS 3.1MEDIUM 5.5
  • TI-2026-26970 Copier `_subdirectory` allows template root escape via parent-directory traversal CVSS 3.1MEDIUM 4.4
  • TI-2026-19328 Copier safe template has arbitrary filesystem write access via directory symlinks when _preserve_symlinks: true CVSS 4.0MEDIUM 6.9

Sources