CVE-2026-118260Echo: BodyDump captures request and response bodies without size limits in v4
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.
What to do
Fixed builds are available from Go: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | golang-github-labstack-echo | Fix pending | UBUNTU-CVE-2026-118260 | |
| Ubuntu 26.04 | golang-github-labstack-echo | Under investigation | UBUNTU-CVE-2026-118260 | |
| Ubuntu 24.04 | golang-github-labstack-echo | Under investigation | UBUNTU-CVE-2026-118260 | |
| Ubuntu 22.04 | golang-github-labstack-echo | Under investigation | UBUNTU-CVE-2026-118260 | |
| Ubuntu 22.04 | golang-github-labstack-echo.v2 | Under investigation | UBUNTU-CVE-2026-118260 | |
| Ubuntu 22.04 | golang-github-labstack-echo.v3 | Under investigation | UBUNTU-CVE-2026-118260 | |
| Ubuntu 20.04 | golang-github-labstack-echo.v2 | Fix pending | UBUNTU-CVE-2026-118260 | |
| Ubuntu 20.04 | golang-github-labstack-echo.v3 | Fix pending | UBUNTU-CVE-2026-118260 | |
| Debian 14 | golang-github-labstack-echo | Fix pending | DEBIAN-CVE-2026-118260 | |
| Debian 13 | golang-github-labstack-echo | Fix pending | DEBIAN-CVE-2026-118260 | |
| Debian 12 | golang-github-labstack-echo | Fix pending | DEBIAN-CVE-2026-118260 | |
| Go library | github.com/labstack/echo/v4 | Fixed | 4.16.1 | GHSA-f48p-c9v4-h7xv |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- labstack echo: affected: >= 4.0.0, < 4.16.1
References
- https://github.com/labstack/echo/security/advisories/GHSA-f48p-c9v4-h7xv
- https://github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f
- https://github.com/labstack/echo/releases/tag/v4.16.1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.