CVE-2026-118260: Echo · BodyDump captures request and response bodies without size limits in v4
Affects github.com/labstack/echo/v4Source GCVE Database
Not known to be exploited · CVSS 8.2 High : upgrade to 4.16.1 soon.
Data as of 28 Oct 2026, 20:14 UTC
- Patch
- Available – fixed in 4.16.1
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade github.com/labstack/echo/v4 to 4.16.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/labstack/echo/v4 | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Echo v4 to version 4.16.1 or later, which introduces configurable maximum sizes for BodyDump's request and response body captures, defaulting to 5 MiB. Alternatively, disable BodyDump middleware on routes exposed to large uploads or downloads. Enforce request size limits before BodyDump middleware and independently limit response sizes generated by the application to reduce risk.
Description
Echo v4's BodyDump middleware captures entire request and response bodies without size limits by default, which can lead to excessive memory allocation. This can be exploited by clients submitting large requests or influencing large responses, potentially causing denial of service due to memory exhaustion. The vulnerability affects Echo v4 versions from 4.0.0 up to but not including 4.16.1. A patch is available in version 4.16.1 that introduces configurable limits on captured body sizes.
References
- github.com/labstack/echo/security/advisories/GHSA-f48p-c9v4-h7xv (opens in a new tab)
- github.com/labstack/echo/pull/3105 (opens in a new tab)
- github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f (opens in a new tab)
- github.com/labstack/echo (opens in a new tab)
- github.com/labstack/echo/releases/tag/v4.16.1 (opens in a new tab)