CVE-2026-53951
Last modified
CVE-2026-53951 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. Copier is a library and CLI app for rendering project templates. In versions 9.5.0 through 9.15.1, the `trust` setting's prefix match (`copier/_settings.py`) compares the template URL against a trusted prefix with a raw `str.startswith` and no path normalization, while the URL is normalized when the template is actually fetched (`Path.resolve()` for local paths; libcurl dot-segment removal for `https`). EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
Copier is a library and CLI app for rendering project templates. In versions 9.5.0 through 9.15.1, the `trust` setting's prefix match (`copier/_settings.py`) compares the template URL against a trusted prefix with a raw `str.startswith` and no path normalization, while the URL is normalized when the template is actually fetched (`Path.resolve()` for local paths; libcurl dot-segment removal for `https`). A template reference that textually starts with a trusted prefix but contains `..` is therefore granted trust yet resolves to a different, attacker-controlled template, whose `tasks` / `migrations` / `jinja_extensions` then run without the `--trust` prompt — arbitrary command execution. Version 9.15.2 patches the issue.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| copier-org | copier | >= 9.5.0, < 9.15.2 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-53951?
How severe is CVE-2026-53951?
How do I fix CVE-2026-53951?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-53946Ghost is a Node.js content management system. From 6.19.4 un…5.4
- CVE-2026-53947Ghost is a Node.js content management system. From 5.18.0 un…5.3
- CVE-2026-53948Ghost is a Node.js content management system. From 6.19.4 un…5.4
- CVE-2026-53949Ghost is a Node.js content management system. From 5.46.1 un…5.3
- CVE-2026-5395The Fluent Forms – Customizable Contact Forms, Survey, Quiz,…8.2
- CVE-2026-53950@tryghost/activitypub is Ghost’s social/federation client ap…7.5
- CVE-2026-53952GetSimple CMS is a content management system (CMS), and GetS…9.8
- CVE-2026-53954Bugsink is a self-hosted error tracking tool. Prior to versi…4.3
- CVE-2026-53956Rattler is a library that provides common functionality used…5.4
- CVE-2026-53957Contentful MCP Server is a Model Context Protocol server for…7.7
- CVE-2026-539584gaBoards is a boards system for realtime project management…7.6
- CVE-2026-539594gaBoards is a boards system for realtime project management…6.5
Are you affected by CVE-2026-53951?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
