CVE-2026-118263
Echo: BodyDump can discard BodyLimit overflow errors for unknown-length requests
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.
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-65f4Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| echo labstack |
>= 5.0.0, < 5.4.1 (affected) | CNA: GitHub_M |
github.com/labstack/echo/v5github.com/labstack/echo/v5
Go |
≥ 5.0.0; < 5.4.1 (affected, semver); OSV events: introduced 5.0.0; fixed 5.4.1Source events (semver)
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
| Version / score | Vector | Authority |
|---|---|---|
| 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:N | CNA: GitHub_M |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/labstack/echo/security/advisories/GHSA-x9ff-22gv-65f4CNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/labstack/echo/pull/3105CNA: GitHub_M · x_refsource_MISC
- https://github.com/labstack/echo/commit/1855061e572ae9dab727c811d8382f266bfbaaecCNA: GitHub_M · x_refsource_MISC
- https://github.com/labstack/echo/releases/tag/v5.4.1CNA: GitHub_M · x_refsource_MISC
- https://github.com/advisories/GHSA-x9ff-22gv-65f4OSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-x9ff-22gv-65f4OSV / GitHub Security Advisories · osv
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/cveshttps://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.