CVE-2026-118261
Echo: 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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.372% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 8.2 · published by GitHub_MCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:57:59.801Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:59.801Z | CVE Program |
| epss | verified | 2026-11-19T16:04:45.325Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:38.976Z | OSV |
| affected | verified | 2026-11-19T12:57:59.801Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:59.801Z | CVE Program |
Affected versions and configuration
labstack echo; default status: unknown: >= 4.0.0, < 4.16.1 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "labstack",
"product": "echo",
"versions": [
{
"status": "affected",
"version": ">= 4.0.0, < 4.16.1"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-118261",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-10-29T15:28:34.378293Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-29T20:54:55.973Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-h7wr-284f-5qvc",
"aliases": [
"CVE-2026-118261",
"GO-2026-6842"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.16.1"
}
]
}
],
"package": {
"name": "github.com/labstack/echo/v4",
"purl": "pkg:golang/github.com/labstack/echo/v4",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-h7wr-284f-5qvc/GHSA-h7wr-284f-5qvc.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/labstack/echo/security/advisories/GHSA-h7wr-284f-5qvc",
"type": "WEB"
},
{
"url": "https://github.com/labstack/echo/pull/3136",
"type": "WEB"
},
{
"url": "https://github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f",
"type": "WEB"
},
{
"url": "https://github.com/labstack/echo",
"type": "PACKAGE"
},
{
"url": "https://github.com/labstack/echo/releases/tag/v4.16.1",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-400",
"CWE-409"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2026-10-23T20:49:49Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "GO-2026-6842",
"aliases": [
"CVE-2026-118261",
"GHSA-h7wr-284f-5qvc"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.16.1"
}
]
}
],
"package": {
"name": "github.com/labstack/echo/v4",
"purl": "pkg:golang/github.com/labstack/echo/v4",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2026-6842.json"
},
"ecosystem_specific": {
"imports": [
{
"path": "github.com/labstack/echo/v4/middleware",
"symbols": [
"BodyDump",
"BodyDumpWithConfig",
"Decompress",
"DecompressWithConfig",
"Proxy",
"ProxyWithConfig",
"proxyHTTP",
"proxyRaw"
]
}
]
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/labstack/echo/security/advisories/GHSA-h7wr-284f-5qvc",
"type": "ADVISORY"
},
{
"url": "https://github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f",
"type": "FIX"
},
{
"url": "https://github.com/labstack/echo/pull/3136",
"type": "FIX"
},
{
"url": "https://github.com/labstack/echo/releases/tag/v4.16.1",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2026-6842",
"review_status": "REVIEWED"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Go / package | github.com/labstack/echo/v4 | Not a distribution channel | 4.16.1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:38.976ZArchived source JSON
Source publication: 2026-10-23T20:49:49.000Z
Source modification: 2026-11-05T23:25:47.730ZDocument fingerprint
cd7e0dbe7a53138b3e44880e94bfb79aaf1f7a7c443172587502ffa637a5c3de - OSVConsulted: 2026-11-19T12:52:38.976ZArchived source JSON
Source publication: 2026-11-05T22:54:11.000Z
Source modification: 2026-11-05T23:25:47.730ZDocument fingerprint
cd7e0dbe7a53138b3e44880e94bfb79aaf1f7a7c443172587502ffa637a5c3de - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:57:59.801ZArchived source JSON
Source publication: 2026-10-28T18:58:43.504Z
Source modification: 2026-10-29T20:54:55.973ZDocument fingerprint
de423b226b9f2375970ac745d04fe72ed401a14e1f2d920b71d4adcecc08422e - FIRST EPSSConsulted: 2026-11-19T16:04:45.325ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
287847b77149ef96b0d35ecb7d3235d10f01e8da070f7646330892872b613f55
Official status history
- UNKNOWN → PUBLISHED · · evidence