## Echo: BodyDump captures request and response bodies without size limits in v4

- 種別: advisory
- 重大度: high
- 関連技術: go, github
- 公開日時: 2026-10-23T20:48:44.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-f48p-c9v4-h7xv)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-f48p-c9v4-h7xv

影響: go:github.com/labstack/echo/v4 >= 4.0.0, < 4.16.1 → 4.16.1
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. Body…