CVE-2026-118266
Medium · 5.3CVSS
5.3
EPSS
0.2%
Published
Oct 28, 2026
CISA due date
—
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-61826 Bazarr is a companion application to Sonarr and Radarr. CWE-352
- CVE-2026-65566 Cross-Site Request Forgery (CSRF) vulnerability in Meow Apps AI Engine ai-engine allows… CWE-352
- CVE-2026-119466 Cross-Site Request Forgery (CSRF) vulnerability in WPExperts APIExperts Square for… CWE-352
- CVE-2026-45141 Chamilo LMS is an open-source learning management system. CWE-352
- CVE-2026-112374 FOSSBilling before 0.8.9 contains a Cross-Site Request Forgery vulnerability in the staff… CWE-352
- CVE-2026-119426 phpMyAdmin through 5.2.3 contains a cross-site request forgery vulnerability that allows… CWE-352
- CVE-2026-119407 Element Web and Element Desktop before 1.12.32 accept guest credentials from URL fragment… CWE-352
- CVE-2026-118570 Cross-Site Request Forgery (CSRF) vulnerability in Drupal Fasttoggle allows Cross Site… CWE-352