Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/labstack/echo/v4
  4. ›
  5. GHSA-f48p-c9v4-h7xv

GHSA-f48p-c9v4-h7xv: Echo: BodyDump captures request and response bodies without size limits in v4

October 23, 2026 (updated October 28, 2026)

Echo v4’s opt-in BodyDump middleware read complete request bodies into memory and retained complete response bodies without a capture limit. A client able to submit large requests to a route using BodyDump could cause large allocations before the application handler ran. Large responses, including responses whose size can be influenced by a client, also caused an additional unbounded capture allocation.

Repeated or concurrent requests can exhaust process memory and cause denial of service. BodyDump is not enabled by default. Deployments with effective request limits may reduce the request-side exposure; response capture requires separate consideration.

References

  • github.com/advisories/GHSA-f48p-c9v4-h7xv
  • github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f
  • github.com/labstack/echo/pull/3105
  • github.com/labstack/echo/releases/tag/v4.16.1
  • github.com/labstack/echo/security/advisories/GHSA-f48p-c9v4-h7xv
  • nvd.nist.gov/vuln/detail/CVE-2026-118260

Code Behaviors & Features

Detect and mitigate GHSA-f48p-c9v4-h7xv with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 4.0.0 before 4.16.1

Fixed versions

  • 4.16.1

Solution

Upgrade to version 4.16.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

go/github.com/labstack/echo/v4/GHSA-f48p-c9v4-h7xv.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:50 +0000.