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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | golang-github-labstack-echo | no fix listed | DEBIAN-CVE-2026-118260 |
| Debian:13 | golang-github-labstack-echo | no fix listed | DEBIAN-CVE-2026-118260 |
| Debian:14 | golang-github-labstack-echo | no fix listed | DEBIAN-CVE-2026-118260 |
| Go | github.com/labstack/echo/v4 | 4.16.1 | GHSA-f48p-c9v4-h7xv |
| Go | github.com/labstack/echo/v4 | 4.16.1 | GO-2026-6840 |
| Ubuntu:22.04:LTS | golang-github-labstack-echo | no fix listed | UBUNTU-CVE-2026-118260 |
| Ubuntu:24.04:LTS | golang-github-labstack-echo | no fix listed | UBUNTU-CVE-2026-118260 |
| Ubuntu:26.04:LTS | golang-github-labstack-echo | no fix listed | UBUNTU-CVE-2026-118260 |
| Ubuntu:26.10 | golang-github-labstack-echo | no fix listed | UBUNTU-CVE-2026-118260 |
| Ubuntu:22.04:LTS | golang-github-labstack-echo.v2 | no fix listed | UBUNTU-CVE-2026-118260 |
| Ubuntu:22.04:LTS | golang-github-labstack-echo.v3 | no fix listed | UBUNTU-CVE-2026-118260 |
Affected products (as reported)
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
- https://github.com/labstack/echo/security/advisories/GHSA-f48p-c9v4-h7xv x_refsource_CONFIRM
- https://github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f x_refsource_MISC
- https://github.com/labstack/echo/releases/tag/v4.16.1 x_refsource_MISC