Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-34726: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in copier-org copier

0
Medium
VulnerabilityCVE-2026-34726cvecve-2026-34726cwe-22
Published: Thu Apr 02 2026 (04/02/2026, 18:07:35 UTC)
Source: CVE Database V5
Vendor/Project: copier-org
Product: copier

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 22:45:03 UTC

Technical Analysis

The copier library and CLI app for rendering project templates had an improper limitation of pathname to a restricted directory (CWE-22). Specifically, the _subdirectory setting accepted parent-directory traversal sequences, allowing templates to access and render files outside their intended directory scope. This vulnerability affects versions before 9.14.1 and has been fixed in that version.

Potential Impact

An attacker or user providing a crafted template path could cause copier to render files from directories outside the intended template root. This could lead to unintended information disclosure or manipulation of files outside the template scope. The CVSS score of 4.4 reflects a medium severity with low confidentiality and integrity impact and no availability impact. Exploitation requires local access and user interaction.

Mitigation Recommendations

Upgrade copier to version 9.14.1 or later where this path traversal vulnerability is patched. No other mitigation is required as the issue is fixed in the official release.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-30T18:41:20.753Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69ceb81be6bfc5ba1df6de90

Added to database: 4/2/2026, 6:40:27 PM

Last enriched: 4/9/2026, 10:45:03 PM

Last updated: 5/20/2026, 8:52:53 PM

Views: 32

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses