Public vulnerability disclosure

CVE-2026-118263

Echo: BodyDump can discard BodyLimit overflow errors for unknown-length requests

publishedCWE-252

Echo is a Go web framework. From 5.0.0 until 5.4.1, Echo v5's BodyDump middleware can discard a BodyLimit overflow error for an unknown-length request when BodyDump's capture limit is below the BodyLimit threshold. BodyDump drains the remaining body while ignoring read errors and replaces it with the captured prefix, so an HTTP/1.1 chunked request can be truncated and processed successfully even though the original body exceeded the configured limit. Known-length requests rejected before BodyDump runs are unaffected, and the issue does not establish a general authentication bypass or denial of service. This issue is fixed in 5.4.1.

Technical severity6.3 mediumCVSS 4.0 · CNA: GitHub_M
Published2026-10-28Source updated 2026-11-02
Collected2026-11-023 attributed sources

Fixes and workarounds

Fix

github.com/labstack/echo/v5 (Go): OSV reports a fixed version 5.4.1. Check the advisory for supported release branches.

Source: OSV GHSA-x9ff-22gv-65f4

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
echo
labstack
>= 5.0.0, < 5.4.1 (affected) CNA: GitHub_M
github.com/labstack/echo/v5

github.com/labstack/echo/v5
Go
≥ 5.0.0; < 5.4.1 (affected, semver); OSV events: introduced 5.0.0; fixed 5.4.1
Source events (semver)
[
  {
    "introduced": "5.0.0"
  },
  {
    "fixed": "5.4.1"
  }
]

Other versions: unaffected
OSV GHSA-x9ff-22gv-65f4

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
4.0 / 6.3
medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NCNA: GitHub_M

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide