Vulnerability · Published Oct 28, 2026 · Assigned by GitHub_M

CVE-2026-118260Echo: BodyDump captures request and response bodies without size limits in v4

High 8.2

In plain English

A high-severity uncontrolled resource consumption 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 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.2High
Exploit odds (30 days)0.4%top 68.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12golang-github-labstack-echono fix listedDEBIAN-CVE-2026-118260
Debian:13golang-github-labstack-echono fix listedDEBIAN-CVE-2026-118260
Debian:14golang-github-labstack-echono fix listedDEBIAN-CVE-2026-118260
Gogithub.com/labstack/echo/v44.16.1GHSA-f48p-c9v4-h7xv
Gogithub.com/labstack/echo/v44.16.1GO-2026-6840
Ubuntu:22.04:LTSgolang-github-labstack-echono fix listedUBUNTU-CVE-2026-118260
Ubuntu:24.04:LTSgolang-github-labstack-echono fix listedUBUNTU-CVE-2026-118260
Ubuntu:26.04:LTSgolang-github-labstack-echono fix listedUBUNTU-CVE-2026-118260
Ubuntu:26.10golang-github-labstack-echono fix listedUBUNTU-CVE-2026-118260
Ubuntu:22.04:LTSgolang-github-labstack-echo.v2no fix listedUBUNTU-CVE-2026-118260
Ubuntu:22.04:LTSgolang-github-labstack-echo.v3no fix listedUBUNTU-CVE-2026-118260

Affected products (as reported)

VendorProductVersions
labstack echo >= 4.0.0, < 4.16.1

Weakness: CWE-400, CWE-770 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

References