CVE Catalog

CVE-2026-118260

HighCVSS 8.2
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

An unauthenticated attacker can exhaust process memory and cause denial of service. The risk affects applications with the BodyDump middleware enabled on unauthenticated routes.

Recommendation

Update Echo to version 4.16.1 (or later). Disable the BodyDump middleware in production or restrict its use to internal routes.

Other vulnerabilities in Echo

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS