Advisory record · GHSA-h7wr-284f-5qvc

Echo: Decompress permits unbounded gzip expansion in v4

CVSS 8.2 HighEPSS 0.0037 · 31st percentile

Published by the GitHub Advisory Database at 23 Oct 2026, 20:49 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/labstack/echo/v4Go>=4.0.0, <4.16.14.16.1
Identifiers
GHSA-h7wr-284f-5qvc · CVE-2026-118261 · GO-2026-6842
Weakness (CWE)
CWE-400 · CWE-409
Published
23 Oct 2026
Updated
5 Nov 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Echo v4 (github.com/labstack/echo/v4) versions 4.0.0 through 4.16.0 are vulnerable because the opt-in Decompress middleware does not limit the expanded size of gzip-encoded request bodies. An attacker who can send requests to an affected route can send a small compressed body that expands to a very large one, causing excessive memory or CPU use and possible denial of service. Upgrade to v4.16.1, which adds a MaxDecompressedSize setting defaulting to 100 MiB. Alternatively, disable gzip request decompression on exposed routes or place BodyLimit after Decompress.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.2 High 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0037, the 31st percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 28 Oct 2026, 19:17 UTC Confirmed by NVD
  2. 31 Oct 2026, 14:11 UTC First seen by agentprime
  3. 31 Oct 2026, 14:11 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.