Advisory record · GHSA-85v3-4m8g-hrh6

Copier `_subdirectory` allows template root escape via parent-directory traversal

CVSS 4.4 MediumEPSS 0.0040 · 34th percentile

Published by the GitHub Advisory Database at 1 Apr 2026, 22:28 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
copierPyPI<9.14.19.14.1
Identifiers
GHSA-85v3-4m8g-hrh6 · CVE-2026-34726 · PYSEC-2026-2134
Weakness (CWE)
CWE-22
Published
1 Apr 2026
Updated
13 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Copier versions before 9.14.1 accept parent-directory traversal (such as "..") in the _subdirectory template setting, letting a template make Copier render files from outside its own template directory. An attacker needs only to get a user to run Copier on a malicious template, and no --UNSAFE flag is needed. Upgrade copier to version 9.14.1 or later.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
4.4 Medium 3.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0040, the 34th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:04 UTC First seen by agentprime
  2. 31 Oct 2026, 15:04 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.