Live threats

All CVEs / Copier-org

CVE-2026-34726Copier-org Copier

Medium 4.4

Priority
26
CVSS 3.1
4.4
EPSS
—
Auth required
Yes
Published
Apr 2, 2026
Updated
Jul 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

What happens

Copier is a library and CLI app for rendering project templates. Prior to version 9.14.1, Copier's _subdirectory setting is documented as the subdirectory to use as the template root. However, the current implementation accepts parent-directory traversal such as .. and uses it directly when selecting the template root. As a result, a template can escape its own directory and make Copier render files from the parent directory without --UNSAFE. This issue has been patched in version 9.14.1.

Original NVD text.

What to do

  1. Apply the vendor's security update for Copier.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI copier < 9.14.1 9.14.1 pip install "copier>=9.14.1"
PyPI copier < 9.14.1 9.14.1 pip install "copier>=9.14.1"

Per OSV / GitHub Advisories (GHSA-85v3-4m8g-hrh6, PYSEC-2026-2134). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
copier-orgcopier< 9.14.1

Official sources

References

Links published by the sources. Open them with care.