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

High 8.2 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-118260?

CVE-2026-118260 is a high-severity vulnerability in labstack echo, published on 28 Oct 2026.

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.

Weakness: CWE-770, CWE-400

Which versions are affected by CVE-2026-118260?

2 open source packages ship an affected version, including github.com/labstack/echo/v4.

PackageAffectedFixed in
github.com/labstack/echo/v4 GoFrom 4.0.04.16.1
github.com/labstack/echo/v4 GoFrom 4.0.04.16.1

How do I fix CVE-2026-118260?

Upgrade github.com/labstack/echo/v4 to 4.16.1 or later.

Is CVE-2026-118260 being exploited?

There is no known exploitation of CVE-2026-118260 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-118260, ECHO-b425-f56a-bd1d, GHSA-f48p-c9v4-h7xv, ROOT-APP-GOBINARY-GHSA-f48p-c9v4-h7xv, UBUNTU-CVE-2026-118260.

Is CVE-2026-118260 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free