CVE Explorer
CVE-2026-34726
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"copier","vendor":"copier-org","versions":[{"status":"affected","version":"< 9.14.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:cdf3c0efecf7bb0eb907dae6e6d7d89357fe07dd932b7d7af0297d65725064ba · sha256:8252979591ccba5e… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":4.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:cdf3c0efecf7bb0eb907dae6e6d7d89357fe07dd932b7d7af0297d65725064ba · sha256:8252979591ccba5e… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:cdf3c0efecf7bb0eb907dae6e6d7d89357fe07dd932b7d7af0297d65725064ba · sha256:8252979591ccba5e… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/copier-org/copier/commit/cb80a3ffc9c3787de3ed837e04ca29a0ff8ca3df","tags":["x_refsource_MISC"],"url":"https://github.com/copier-org/copier/commit/cb80a3ffc9c3787de3ed837e04ca29a0ff8ca3df"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:cdf3c0efecf7bb0eb907dae6e6d7d89357fe07dd932b7d7af0297d65725064ba · sha256:8252979591ccba5e… · /containers/cna/references/1
{"name":"https://github.com/copier-org/copier/releases/tag/v9.14.1","tags":["x_refsource_MISC"],"url":"https://github.com/copier-org/copier/releases/tag/v9.14.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:cdf3c0efecf7bb0eb907dae6e6d7d89357fe07dd932b7d7af0297d65725064ba · sha256:8252979591ccba5e… · /containers/cna/references/2
{"tags":["exploit"],"url":"https://github.com/copier-org/copier/security/advisories/GHSA-85v3-4m8g-hrh6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:cdf3c0efecf7bb0eb907dae6e6d7d89357fe07dd932b7d7af0297d65725064ba · sha256:8252979591ccba5e… · /containers/adp/0/references/0
{"name":"https://github.com/copier-org/copier/security/advisories/GHSA-85v3-4m8g-hrh6","tags":["x_refsource_CONFIRM"],"url":"https://github.com/copier-org/copier/security/advisories/GHSA-85v3-4m8g-hrh6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:cdf3c0efecf7bb0eb907dae6e6d7d89357fe07dd932b7d7af0297d65725064ba · sha256:8252979591ccba5e… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.