Cross-site Request Forgery (CSRF) Affecting golang-github-labstack-echo package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.16% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-GOLANGGITHUBLABSTACKECHO-21817847
  • published29 Oct 2026
  • disclosed28 Oct 2026

Introduced: 28 Oct 2026

NewCVE-2026-118266  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

There is no fixed version for Debian:14 golang-github-labstack-echo.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-github-labstack-echo package and not the golang-github-labstack-echo package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

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.