CVE-2026-118261labstack echo
High 8.2 No auth needed
Follow: this CVE · labstack · labstack echo We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 4.0
- 8.2
- EPSS
- —
- Auth required
- No
- Published
- Oct 28, 2026
- Updated
- Nov 4, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- 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/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
What happens
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.
What to do
- Apply the vendor's security update for echo.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/labstack/echo/v4 |
≥ 4.0.0 < 4.16.1 |
4.16.1 |
go get github.com/labstack/echo/v4@v4.16.1 |
| Go | github.com/labstack/echo/v4 |
≥ 4.0.0 < 4.16.1 |
4.16.1 |
go get github.com/labstack/echo/v4@v4.16.1 |
Per OSV / GitHub Advisories (GHSA-h7wr-284f-5qvc, GO-2026-6842). Check the version in your lockfile before upgrading.
Affected products
- labstack · echo
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.