CVE-2026-118260
HIGH 8.2CVSS 4.0Echo: 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.
- Published
- 28 Oct 2026
- Last modified
- 5 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Undergoing Analysis
- Weakness
- CWE-400CWE-770
- Also known as
- GHSA-f48p-c9v4-h7xvGO-2026-6840
- Sources
- NVDJSONOSV GHSA-f48p-c9v4-h7xvJSONOSV GO-2026-6840JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.2 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/labstack/echo/v4 | >= 4.0.0, < 4.16.1 | 4.16.1 |
References
- https://github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f · WEB, FIX
- https://github.com/labstack/echo/releases/tag/v4.16.1 · WEB
- https://github.com/labstack/echo/security/advisories/GHSA-f48p-c9v4-h7xv · WEB, ADVISORY
- https://github.com/labstack/echo/pull/3105 · WEB, FIX
- https://github.com/labstack/echo · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 28 Oct 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Nov 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Oct 2026)