Answer in brief
CVE-2026-118266 records a Medium severity (CVSS 5.3) vulnerability in Echo: CSRF Protection Bypass via MethodOverride Rewriting POST to Safe Method. The current sources do not mark it as known exploited. The current feed maps labstack/echo (generic), github.com/labstack/echo/v4 (go), github.com/labstack/echo/v5 (go). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 5.3. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps labstack/echo (generic), github.com/labstack/echo/v4 (go), github.com/labstack/echo/v5 (go). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| labstack/echogeneric | <4.16.0 || >=5.0.0 <5.4.0 | 4.16.0, 5.4.0 |
| github.com/labstack/echo/v4go | <4.16.0 | 4.16.0 |
| github.com/labstack/echo/v5go | >=5.0.0,<5.4.0 | 5.4.0 |
Published upstream
Oct 28, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Oct 28, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Oct 28, 2026
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.
Quoted source text, attributed separately from HOL analysis.