CVE-2026-118263

GHSA-x9ff-22gv-65f4 · GO-2026-6844 · published 23 Oct 2026 · updated 5 Nov 2026

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

6.3MediumCVSS 6.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in github.com/labstack/echo/v5 5.4.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
labstack>=5.0.0 <5.4.1
go: github.com/labstack/echo/v5>=5.0.0 <5.4.15.4.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in github.com/labstack/echo/v5 (Go), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-118263 severity on Zeptric[![CVE-2026-118263](https://zeptric.io/badge/cve/CVE-2026-118263.svg)](https://zeptric.io/cve/CVE-2026-118263)