Skip to content
OpenAdvisories
High · 8.2 CVE-2026-118260 EUVD-2026-112369GHSA-f48p-c9v4-h7xvGO-2026-6840

Echo: BodyDump captures request and response bodies without size limits in v4

Published Oct 28, 2026 · Updated Oct 30, 2026 · Assigned by GitHub_M

Description

Echo is a Go web framework. From 4.0.0 until 4.16.1, Echo v4's opt-in BodyDump middleware reads complete request bodies into memory before handlers run and retains complete response bodies for the dump callback without capture limits. An unauthenticated client that can reach a route using BodyDump can submit large bodies or influence large responses, causing repeated or concurrent allocations that exhaust process memory. BodyDump is not enabled by default, and external request limits may reduce request-side exposure but do not bound response capture. This issue is fixed in 4.16.1.

Affected products

VendorProductAffectedFixed
labstack echo >= 4.0.0, < 4.16.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-github-labstack-echo No fix yet —
Debian 13 golang-github-labstack-echo No fix yet —
Debian 12 golang-github-labstack-echo No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 golang-github-labstack-echo No fix yet —
Ubuntu 26.04 LTS golang-github-labstack-echo No fix yet —
Ubuntu 24.04 LTS golang-github-labstack-echo No fix yet —
Ubuntu 22.04 LTS golang-github-labstack-echo +2 No fix yet —
Ubuntu 20.04 LTS golang-github-labstack-echo.v2 +1 No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/labstack/echo/v4 >= 4.0.0, < 4.16.1 4.16.1 GHSA-f48p-c9v4-h7xv

References