# CVE-2026-118260: Echo: BodyDump captures request and response bodies without size limits in v4

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-10-23T20:48:44.000Z
- Modified: 2026-11-05T23:26:11.132Z
- Also known as: GHSA-f48p-c9v4-h7xv, GO-2026-6840
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Echo is a Go web framework. From 4.0.0 until 4.16.1, Echo v4's opt-in BodyDump middleware reads complete request bodies into memory before handlers run and retains complete response bodies for the dump callback without capture limits. An unauthenticated client that can reach a route using BodyDump can submit large bodies or influence large responses, causing repeated or concurrent allocations that exhaust process memory. BodyDump is not enabled by default, and external request limits may reduce request-side exposure but do not bound response capture. This issue is fixed in 4.16.1.

(As written by CVE List.)

## Affected

- labstack echo: >= 4.0.0, < 4.16.1
- github.com/labstack/echo/v4 (Go): from 4.0.0 before 4.16.1

## Every score

- GitHub_M: CVSS:4.0 8.2 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/labstack/echo/security/advisories/GHSA-f48p-c9v4-h7xv> (advisory, web)
- <https://github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f> (fix, web)
- <https://github.com/labstack/echo/releases/tag/v4.16.1> (web)
- <https://github.com/labstack/echo/pull/3105> (fix, web)
- <https://github.com/labstack/echo> (package)

## Sources

- CVE List: [CVE-2026-118260](https://www.cve.org/CVERecord?id=CVE-2026-118260), CVE Terms of Use, modified 2026-10-30
- GitHub Advisory Database: [GHSA-f48p-c9v4-h7xv](https://github.com/advisories/GHSA-f48p-c9v4-h7xv), CC-BY-4.0, modified 2026-11-05
- Go Vulnerability Database: [GO-2026-6840](https://pkg.go.dev/vuln/GO-2026-6840), CC-BY-4.0, modified 2026-11-05
- NVD: [CVE-2026-118260](https://nvd.nist.gov/vuln/detail/CVE-2026-118260), Public domain, modified 2026-11-04

---

Page: https://cve.day/CVE-2026-118260 · Whole record: https://cve.day/CVE-2026-118260.json · Rebuilt by cve.day 2026-11-25T22:59:47.668Z
