ADVISORIES

Vulnerability

CVE-2026-118266

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.

6 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • DEBIAN-CVE-2026-118266

    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…

    CVE-2026-118266 Debian Updated 4 November 2026
  • GHSA-r7w9-592q-9vg4

    Echo has CSRF Protection Bypass via MethodOverride Rewriting POST to Safe Method

    Moderate CVE-2026-118266 Go Updated 5 November 2026
  • GO-2026-6877

    Echo has CSRF Protection Bypass via MethodOverride Rewriting POST to Safe Method in github.com/labstack/echo

    CVE-2026-118266 Go Updated 5 November 2026
  • SUSE-SU-2026:24730-1

    Security update for govulncheck-vulndb

    Known exploited CVE-2026-100347CVE-2026-100348CVE-2026-100349CVE-2026-100350 SUSE Updated 17 November 2026
  • UBUNTU-CVE-2026-118266

    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…

    CVE-2026-118266 Ubuntu Updated 24 November 2026
  • openSUSE-SU-2026:22336-1

    Security update for govulncheck-vulndb

    Known exploited CVE-2026-100347CVE-2026-100348CVE-2026-100349CVE-2026-100350 openSUSE Updated 18 November 2026

References