CVE-2026-62999: 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. From 9.5.0 through 9.16.0, percent-encoded parent-directory segments or encoded path separators in a template URL can match a configured trusted repository prefix before an HTTP server or Git transport decodes the path, allowing unsafe template features from a repository outside the trusted prefix to run after user interaction. This issue is fixed in version 9.17.0.
AI Analysis
Technical Summary
Copier, a library and CLI tool for rendering project templates, is affected by a path traversal vulnerability in versions 9.5.0 through 9.16.0. The vulnerability arises because percent-encoded parent-directory segments or encoded path separators in a template URL can match a configured trusted repository prefix before the HTTP server or Git transport decodes the path. This allows an attacker to run unsafe template features from repositories outside the trusted prefix, but only after user interaction. The vulnerability is addressed in version 9.17.0.
Potential Impact
Successful exploitation can lead to execution of unsafe template features from repositories outside the trusted prefix, potentially resulting in high confidentiality, integrity, and availability impacts as indicated by the CVSS score of 7.5. However, exploitation requires user interaction and the attack complexity is high.
Mitigation Recommendations
Upgrade copier to version 9.17.0 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are indicated. Users should ensure they do not use affected versions.
CVE-2026-62999: 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. From 9.5.0 through 9.16.0, percent-encoded parent-directory segments or encoded path separators in a template URL can match a configured trusted repository prefix before an HTTP server or Git transport decodes the path, allowing unsafe template features from a repository outside the trusted prefix to run after user interaction. This issue is fixed in version 9.17.0.
CVSS v3.1
Score 7.5high
Affected software
copier-org
copier
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Copier, a library and CLI tool for rendering project templates, is affected by a path traversal vulnerability in versions 9.5.0 through 9.16.0. The vulnerability arises because percent-encoded parent-directory segments or encoded path separators in a template URL can match a configured trusted repository prefix before the HTTP server or Git transport decodes the path. This allows an attacker to run unsafe template features from repositories outside the trusted prefix, but only after user interaction. The vulnerability is addressed in version 9.17.0.
Potential Impact
Successful exploitation can lead to execution of unsafe template features from repositories outside the trusted prefix, potentially resulting in high confidentiality, integrity, and availability impacts as indicated by the CVSS score of 7.5. However, exploitation requires user interaction and the attack complexity is high.
Mitigation Recommendations
Upgrade copier to version 9.17.0 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are indicated. Users should ensure they do not use affected versions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-14T23:10:57.032Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a6cfc17bf32cb7a343268b1
Added to database: 07/31/2026, 19:48:39 UTC
Last enriched: 07/31/2026, 20:02:55 UTC
Last updated: 09/12/2026, 22:01:35 UTC
Views: 55
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.