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-34730: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in copier-org copier

0
Medium
VulnerabilityCVE-2026-34730cvecve-2026-34730cwe-22
Published: Thu Apr 02 2026 (04/02/2026, 18:09:16 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 _external_data feature allows a template to load YAML files using template-controlled paths. If untrusted templates are in scope, a malicious template can read attacker-chosen YAML-parseable local files that are accessible to the user running Copier and expose their contents in rendered output. This issue has been patched in version 9.14.1.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 22:48:44 UTC

Technical Analysis

Copier is a library and CLI tool for rendering project templates. Before version 9.14.1, its _external_data feature permitted templates to specify paths for loading YAML files. Because these paths were template-controlled and not properly restricted, an attacker supplying a malicious template could perform a path traversal attack (CWE-22) to read arbitrary local files readable by the user running copier. This could lead to unauthorized disclosure of sensitive information embedded in those files. The vulnerability has been addressed by an official patch in version 9.14.1.

Potential Impact

An attacker able to supply or influence templates used by copier can read arbitrary local YAML-parseable files accessible to the user running copier. This results in confidentiality loss of potentially sensitive information. There is no indication of integrity or availability impact. The vulnerability requires local access or the ability to provide malicious templates and user interaction (UI:R).

Mitigation Recommendations

Upgrade copier to version 9.14.1 or later, where this path traversal vulnerability has been fixed. Users relying on untrusted templates should apply this update promptly to prevent unauthorized local file disclosure. No other mitigations are indicated or required once patched.

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.754Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69ceb81be6bfc5ba1df6de95

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

Last enriched: 4/9/2026, 10:48:44 PM

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

Views: 34

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