CVE-2026-118261: Echo: Decompress permits unbounded gzip expansion in v4 in github.com/labstack/echo
Published 2026-11-05 · Updated 2026-11-05 · Also known as GHSA-h7wr-284f-5qvc, GO-2026-6842
Summary
CVE-2026-118261 is a vulnerability in github.com/labstack/echo/v4 where Decompress permits unbounded gzip expansion. Teams using affected versions from 4.0.0 prior to 4.16.1 should upgrade to version 4.16.1.
Who is affected
Deployments using the Go module github.com/labstack/echo/v4 starting from version 4.0.0 up to versions prior to 4.16.1 are affected. The record states that Decompress permits unbounded gzip expansion in v4, though additional operational conditions, severity rating, and CWE details are not documented. The downstream impact beyond unbounded gzip expansion is also not documented.
Exploitability
The CVSS vector and base score are not provided, so standardized exploitability metrics are not documented. The EPSS score is 0.004 (percentile 0.317). CISA Known Exploited Vulnerabilities status is listed as no, so active exploitation is not indicated.
Remediation
- Upgrade the github.com/labstack/echo/v4 dependency to fixed version 4.16.1.
- Update go.mod and go.sum, then rebuild and redeploy affected Go applications using github.com/labstack/echo/v4 4.16.1.
How to check your project
- Inspect go.mod and go.sum to check whether github.com/labstack/echo/v4 is referenced at version 4.0.0 or later and below 4.16.1.
- Run go list -m github.com/labstack/echo/v4 in the repository to verify the active module version.
- Scan your Go dependencies for identifiers CVE-2026-118261, GHSA-h7wr-284f-5qvc, or GO-2026-6842.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | github.com/labstack/echo/v4 |
>= 4.0.0, < 4.16.1 | 4.16.1 | go get github.com/labstack/echo/[email protected] |
FAQ
Which versions of github.com/labstack/echo/v4 are affected and what is the fix?
The vulnerability was introduced in version 4.0.0 of github.com/labstack/echo/v4 and is fixed in version 4.16.1.
What are the CVSS score, severity, and CWE for CVE-2026-118261?
Severity is listed as unknown, and the CVSS vector, CVSS base score, and CWE are not documented in this record.
Is CVE-2026-118261 known to be actively exploited?
No. CISA Known Exploited Vulnerabilities status is no, and the EPSS score is 0.004 (percentile 0.317).
Original advisory description
References
- ADVISORY https://github.com/labstack/echo/security/advisories/GHSA-h7wr-284f-5qvc
- FIX https://github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f
- FIX https://github.com/labstack/echo/pull/3136
- WEB https://github.com/labstack/echo/releases/tag/v4.16.1
Source records: GO-2026-6842 (OSV.dev) · EPSS by FIRST, 2026-11-22.