Patch Forecast
Yellow warning
Plan into this sprint.

CVE-2026-118263 · GHSA-x9ff-22gv-65f4

Echo: BodyDump can discard BodyLimit overflow errors for unknown-length requests

Risk score
43/100
CVSS
6.3 v4.0
Published
23 Oct 2026

Open in the live forecast Today's forecast

What to know

What it is
Echo is a Go web framework. From 5.0.0 until 5.4.1, Echo v5's BodyDump middleware can discard a BodyLimit overflow error for an unknown-length request when BodyDump's capture limit is below the BodyLimit threshold. BodyDump drains the remaining body while ignoring read errors and replaces it with the captured prefix, …
Affected
github.com/labstack/echo/v5 (go) >= 5.0.0, < 5.4.1
Fix
Upgrade github.com/labstack/echo/v5 to 5.4.1 or later.
Exploitation
No known exploitation

Story map

Story map: github.com/labstack/echo/v5THE FLAWSTHE FIXCVE-2026-118263Echo: BodyDump can discardBodyLimit overflow errors forunknown-length requestsCVSS 6.3CVE-2026-118650Echo's middleware.Static:`%2F`-encoded path bypassesroute/group middleware…CVSS 7.5CVE-2026-118653Echo has Rate Limiter Bypassvia Spoofed X-Forwarded-ForHeader in Default ConfigurationCVSS 5.3CVE-2026-118266Echo has CSRF ProtectionBypass via MethodOverrideRewriting POST to Safe…CVSS 5.3Upgrade…5.4.1or later on your release lineWho is exposedgithub.com/labstack/echo/v5(go) < 5.4.0;github.com/labstack/echo/v4(go) < 4.16.0YELLOW · PLAN IT INgithub.com/labstack/echo/v5When middleware.Static ismounted globally(e.Use(middleware.Static(...)))and an application relies on aroute- or group-levelmiddleware guard to restrict apath that also falls under the…Where it standsPublic proof of conceptCONNECTS TOSame weaknessCWE-252 (CWE-252)13 other warnings in 30 days →
Story map: the flaws, the fix, how it unfolded and what it connects to. Boxes link to the record or article.

At a glance

github.com/labstack/echo/v5: Yellow, plan it in. When middleware.Static is mounted globally (e.Use(middleware.Static(...))) and an application relies on a route- or group-level middleware guard to restrict a path that also falls under the served static root, a %2F-encoded request bypasses that guard while the file is still served. This is the same encoding/decoding …

The flaws

  • CVE-2026-118263: Echo: BodyDump can discard BodyLimit overflow errors for unknown-length requests (CVSS 6.3)
  • CVE-2026-118650: Echo's middleware.Static: `%2F`-encoded path bypasses route/group middleware guarding a statically-served path (CVSS 7.5)
  • CVE-2026-118653: Echo has Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration (CVSS 5.3)
  • CVE-2026-118266: Echo has CSRF Protection Bypass via MethodOverride Rewriting POST to Safe Method (CVSS 5.3)

The fix

Upgrade github.com/labstack/echo/v5: 5.4.1 or later on your release line

Who is exposed: github.com/labstack/echo/v5 (go) < 5.4.0; github.com/labstack/echo/v4 (go) < 4.16.0

Where it stands

  • Public proof of concept

Connects to

Why it is Yellow

  • CVSS 6.3 medium
  • On your watchlist: Go

Affected packages

PackageEcosystemVulnerableFixed in
github.com/labstack/echo/v5go>= 5.0.0, < 5.4.15.4.1

References

Original description

Echo is a Go web framework. From 5.0.0 until 5.4.1, Echo v5's BodyDump middleware can discard a BodyLimit overflow error for an unknown-length request when BodyDump's capture limit is below the BodyLimit threshold. BodyDump drains the remaining body while ignoring read errors and replaces it with the captured prefix, so an HTTP/1.1 chunked request can be truncated and processed successfully even though the original body exceeded the configured limit. Known-length requests rejected before BodyDump runs are unaffected, and the issue does not establish a general authentication bypass or denial of service. This issue is fixed in 5.4.1.

Last activity 28 Oct 2026. Patch Forecast updates every hour.