CVE-2026-118261
HIGH 8.2CVSS 4.0Echo: Decompress permits unbounded gzip expansion in v4
Echo is a Go web framework. From 4.0.0 until 4.16.1, Echo v4's opt-in Decompress middleware exposes a gzip-decoded request stream without limiting its expanded size. A small compressed request can expand into a very large body when a handler reads or binds it, consuming excessive memory or CPU and allowing repeated or concurrent requests to cause denial of service. The middleware is not enabled by default, and limiting only the compressed request size does not bound the decoded size. 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-409
- Also known as
- GHSA-h7wr-284f-5qvcGO-2026-6842
- Sources
- NVDJSONOSV GHSA-h7wr-284f-5qvcJSONOSV GO-2026-6842JSON
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-h7wr-284f-5qvc · WEB, ADVISORY
- https://github.com/labstack/echo/pull/3136 · 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)