CVE-2026-118260: Echo: BodyDump captures request and response bodies without size limits in v4 in github.com/labstack/echo
Published 2026-11-05 · Updated 2026-11-05 · Also known as GHSA-f48p-c9v4-h7xv, GO-2026-6840
Summary
CVE-2026-118260 (GHSA-f48p-c9v4-h7xv, GO-2026-6840) is a vulnerability in github.com/labstack/echo/v4 where BodyDump captures request and response bodies without size limits. Engineering teams running github.com/labstack/echo/v4 versions from 4.0.0 prior to 4.16.1 should upgrade to version 4.16.1.
Who is affected
Go applications using github.com/labstack/echo/v4 versions introduced at 4.0.0 and prior to the fix in 4.16.1 are affected. Based on the advisory summary, the flaw involves BodyDump capturing request and response bodies without size limits. Additional deployment conditions, severity rating, CWE classification, and downstream impact details are not documented in this record.
Exploitability
A CVSS vector and base score are not provided in this record, so severity and exploitability characteristics are not documented. The EPSS score is 0.004 (percentile 0.317). This vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade the Go module github.com/labstack/echo/v4 to the fixed version 4.16.1.
- Update go.mod and go.sum to reference github.com/labstack/echo/v4 v4.16.1 and rebuild affected Go applications.
How to check your project
- Check go.mod and go.sum for github.com/labstack/echo/v4 to determine whether the resolved version is greater than or equal to 4.0.0 and less than 4.16.1.
- Run go list -m github.com/labstack/echo/v4 in the repository to verify the active package version.
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 fixed?
The vulnerability was introduced in github.com/labstack/echo/v4 version 4.0.0 and is fixed in version 4.16.1.
What are the CVSS, CWE, EPSS, and CISA KEV details for CVE-2026-118260?
Severity, CVSS vector, CVSS base score, and CWE are not documented in this record; EPSS is 0.004 (percentile 0.317) and CISA KEV status is no.
Are any workarounds documented if upgrading to 4.16.1 is delayed?
Workarounds are not documented in the provided record; the only documented remediation is updating github.com/labstack/echo/v4 to 4.16.1.
Original advisory description
References
- ADVISORY https://github.com/labstack/echo/security/advisories/GHSA-f48p-c9v4-h7xv
- FIX https://github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f
- FIX https://github.com/labstack/echo/pull/3105
- WEB https://github.com/labstack/echo/releases/tag/v4.16.1
Source records: GO-2026-6840 (OSV.dev) · EPSS by FIRST, 2026-11-26.