CVE-2026-118266
Last modified
CVE-2026-118266 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, Echo's MethodOverride middleware accepts a safe HTTP method as the override target for a POST request. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, Echo's MethodOverride middleware accepts a safe HTTP method as the override target for a POST request. When MethodOverride is registered before CSRF in the post-routing middleware chain, route selection retains the original state-changing POST handler but the override changes the method before CSRF evaluates it, causing both token validation and Sec-Fetch-Site checks to be skipped. A cross-site exploit requires an authenticated victim and an override value that a browser-submitted request can control, such as the form getter used by the advisory reproducer; the default X-HTTP-Method-Override header getter is not settable by a cross-site form. This issue is fixed in 4.16.0 and 5.4.0.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| labstack | echo | < 4.16.0; >= 5.0.0, < 5.4.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-118266?
How severe is CVE-2026-118266?
How do I fix CVE-2026-118266?
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-118260Echo is a Go web framework. From 4.0.0 until 4.16.1, Echo v4…8.2
- CVE-2026-118261Echo is a Go web framework. From 4.0.0 until 4.16.1, Echo v4…8.2
- CVE-2026-118262Echo is a Go web framework. From 4.15.0 until 4.16.1 and 5.4…8.2
- CVE-2026-118263Echo is a Go web framework. From 5.0.0 until 5.4.1, Echo v5'…6.3
- CVE-2026-118264Echo is a Go web framework. From 4.0.0 until 4.16.1 and 5.4.…9.1
- CVE-2026-118265Echo is a Go web framework. From 5.0.0 until 5.4.1, Echo v5'…5.3
- CVE-2026-11827GitLab has remediated an issue in GitLab EE affecting all ve…4.9
- CVE-2026-118271A security vulnerability has been detected in a2ui-project a…4.3
- CVE-2026-118272A vulnerability was detected in a2ui-project a2ui up to 0.10…4.3
- CVE-2026-118273A flaw has been found in a2ui-project a2ui up to 0.10.6. Aff…4.3
- CVE-2026-118274A vulnerability has been found in a2ui-project a2ui up to 0.…4.3
- CVE-2026-118275A vulnerability was found in a2ui-project a2ui up to 0.10.6.…5.3
Are you affected by CVE-2026-118266?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
