# CVE-2026-118263: Echo BodyDump middleware body limit bypass

Source: https://junglewise.ai/threats/cve-2026-118263-echo-is-a-go-web-framework-from-5-0-0-until-5-4-1-echo-v5-s  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-28. Updated: 2026-10-28  
License: CC BY 4.0 with a link back

CVE-2026-118263 · Severity: info · Published 2026-10-28

Echo is a Go web framework used to build web APIs and applications. The BodyDump middleware, which captures request bodies for debugging and logging, can be misconfigured to silently ignore size limit violations in certain HTTP requests, allowing oversized payloads to be processed when they should be rejected. This could allow an attacker to send requests larger than the configured limit, potentially causing unexpected application behavior or security policy violations.

Technologies: [github.com/labstack/echo/v5 (Go)](https://junglewise.ai/threats/technologies/github-com-labstack-echo-v5), [Labstack Echo](https://junglewise.ai/threats/technologies/labstack-echo). Vendors: [Go](https://junglewise.ai/threats/vendors/go), [Labstack](https://junglewise.ai/threats/vendors/labstack).

## Quick answers

**Is CVE-2026-118263 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-118263 being exploited in the wild.

**How severe is CVE-2026-118263?** Informational severity, published 28 October 2026.

**Which products and versions are affected?** github.com/labstack/echo/v5 (Go) SEMVER:introduced=5.0.0,fixed=5.4.1; Labstack Echo 5.0.0 to 5.4.0.

**Is there a fix for CVE-2026-118263?** Yes. github.com/labstack/echo/v5 (Go): upgrade to 5.4.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-118263 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-118263?** Check whether you run github.com/labstack/echo/v5 (Go) or Labstack Echo at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/labstack/echo/v5 (Go): upgrade to 5.4.1 or later

  ```sh
  go get github.com/labstack/echo/v5@v5.4.1
  ```


## Technical details

The BodyDump middleware in Echo v5 discards BodyLimit overflow errors when processing HTTP/1.1 chunked requests with unknown length. When BodyDump's capture limit is below the BodyLimit threshold, the middleware drains the remaining body while ignoring read errors and truncates the request, allowing it to be processed successfully despite exceeding the size limit. Known-length requests are unaffected because they are rejected before BodyDump runs; the vulnerability applies only to chunked or streaming requests without a Content-Length header.

## Affected products

- labstack Echo 5.0.0 to 5.4.0

## Identifiers

- CVE-2026-118263
- GHSA-x9ff-22gv-65f4
- GO-2026-6844

## Timeline

- 2026-10-28: disclosed
- 2026-10-22: patched

## References

- [https://github.com/labstack/echo/commit/1855061e572ae9dab727c811d8382f266bfbaaec](https://github.com/labstack/echo/commit/1855061e572ae9dab727c811d8382f266bfbaaec)
- [https://github.com/labstack/echo/pull/3105](https://github.com/labstack/echo/pull/3105)

## Related threats

- [Echo web framework arbitrary URI scheme redirect](https://junglewise.ai/threats/cve-2026-118658-echo-is-a-go-web-framework-prior-to-4-15-2-and-5-1-1-context)
- [Echo Go web framework scheme header spoofing and HSTS bypass](https://junglewise.ai/threats/cve-2026-118657-echo-is-a-go-web-framework-prior-to-4-16-0-and-5-4-0-context)
- [Echo open redirect in sanitizeURI with trailing slash redirect](https://junglewise.ai/threats/cve-2026-118656-echo-is-a-go-web-framework-prior-to-4-16-0-and-5-4-0-sanitizeuri)
- [Echo path traversal via double URL encoding in Static middleware](https://junglewise.ai/threats/cve-2026-118655-echo-is-a-go-web-framework-prior-to-4-15-3-and-5-2-0-middleware)
- [Echo path traversal in static file handlers via dot segment normalization](https://junglewise.ai/threats/cve-2026-118654-echo-is-a-go-web-framework-prior-to-4-16-0-and-5-4-0-echo-s)
