Vulnerability · Published Oct 28, 2026 · Assigned by GitHub_M
CVE-2026-118263Echo: BodyDump can discard BodyLimit overflow errors for unknown-length requests
Medium 6.3
In plain English
A medium-severity security flaw in echo from labstack. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/labstack/echo/v5 | 5.4.1 | GO-2026-6844 |
| Go | github.com/labstack/echo/v5 | 5.4.1 | GHSA-x9ff-22gv-65f4 |
| Ubuntu:22.04:LTS | golang-github-labstack-echo | no fix listed | UBUNTU-CVE-2026-118263 |
| Ubuntu:24.04:LTS | golang-github-labstack-echo | no fix listed | UBUNTU-CVE-2026-118263 |
| Ubuntu:26.04:LTS | golang-github-labstack-echo | no fix listed | UBUNTU-CVE-2026-118263 |
| Ubuntu:26.10 | golang-github-labstack-echo | no fix listed | UBUNTU-CVE-2026-118263 |
| Ubuntu:22.04:LTS | golang-github-labstack-echo.v2 | no fix listed | UBUNTU-CVE-2026-118263 |
| Ubuntu:22.04:LTS | golang-github-labstack-echo.v3 | no fix listed | UBUNTU-CVE-2026-118263 |
Affected products (as reported)
Weakness: CWE-252 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/labstack/echo/security/advisories/GHSA-x9ff-22gv-65f4 x_refsource_CONFIRM
- https://github.com/labstack/echo/pull/3105 x_refsource_MISC
- https://github.com/labstack/echo/commit/1855061e572ae9dab727c811d8382f266bfbaaec x_refsource_MISC
- https://github.com/labstack/echo/releases/tag/v5.4.1 x_refsource_MISC