CVE-2026-34730: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in copier-org copier
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 Analysis
Technical Summary
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.
CVE-2026-34730: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in copier-org 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.