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
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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-5396The Fluent Forms plugin for WordPress is vulnerable to Autho…8.2
- CVE-2026-53961Discourse is an open-source discussion platform. Prior to 20…6.5
- CVE-2026-53962Discourse is an open-source discussion platform. Prior to 20…5.4
- CVE-2026-53963Discourse is an open-source discussion platform. Prior to 20…9
- CVE-2026-5397It has been identified that a vulnerability (CWE-427) exists…7.8
- CVE-2026-53975OpenChamber 1.11.7 contains an unauthenticated remote code e…9.8
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
