Skip to main content
VulnerabilityPublished Updated

CVE-2026-118263: Echo · BodyDump can discard BodyLimit overflow errors for unknown-length requests

Affects github.com/labstack/echo/v5Source GCVE Database

0
Authoritative record:CVE-2026-118263· Medium 6.3

Not known to be exploited · CVSS 6.3 Medium : upgrade to 5.4.1 when convenient.

Data as of 28 Oct 2026, 20:15 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 5.4.1
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade github.com/labstack/echo/v5 to 5.4.1.

Affected software

ProductAffectedFixed in
Gogithub.com/labstack/echo/v5Affected
  • >=5.0.0 <5.4.1
Fixed in
  • 5.4.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to Echo v5.4.1 or later, where the BodyDump middleware properly preserves read errors and only captures the configured prefix for logging. Alternatively, disable BodyDump on affected routes or configure the BodyDump capture limit to be above the enforced BodyLimit to ensure overflow detection during initial capture. Note that streaming BodyLimit enforcement still requires the application to consume the request body and handle read errors appropriately.

Description

Echo v5's BodyDump middleware had a vulnerability where it could discard BodyLimit overflow errors for unknown-length requests, such as HTTP/1.1 chunked requests, when the BodyDump capture limit was below the BodyLimit threshold. This allowed a conditional size-policy bypass where a truncated request body could be processed successfully despite exceeding the configured limit. The issue affects all Echo v5 versions from 5.0.0 through 5.4.0. The vulnerability is fixed in version 5.4.1, which changes BodyDump to capture only the configured prefix and properly preserve read errors. Workarounds include disabling BodyDump on affected routes or setting the capture limit above the enforced body limit. No general authentication bypass, data modification, or denial of service is claimed.

References

Community reviews

Loading reviews…