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

Status: published. Published: 2026-10-28. Updated: 2026-11-02.

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.

## Remediation

- 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) — https://github.com/advisories/GHSA-x9ff-22gv-65f4

## Affected products and versions

- labstack / echo: >= 5.0.0, < 5.4.1 (affected). Source: CNA: GitHub_M
-  / github.com/labstack/echo/v5 (github.com/labstack/echo/v5): ≥ 5.0.0; < 5.4.1 (affected, semver); OSV events: introduced 5.0.0; fixed 5.4.1. Source: OSV GHSA-x9ff-22gv-65f4

## Severity and prioritization

- CVSS 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; source: CNA: GitHub_M

- CISA KEV: No listing in collected sources

- EPSS: 0.39% as of 2026-11-02; percentile 32.60%

- SSVC: exploitation none; automatable yes; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-252

## 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-65f4 (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/labstack/echo/pull/3105 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/labstack/echo/commit/1855061e572ae9dab727c811d8382f266bfbaaec (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/labstack/echo/releases/tag/v5.4.1 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/advisories/GHSA-x9ff-22gv-65f4 (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-x9ff-22gv-65f4 (OSV / GitHub Security Advisories; osv)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-118263; retrieved 2026-11-02; source updated 2026-11-02

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-x9ff-22gv-65f4; retrieved 2026-11-02; source updated 2026-10-28

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-118263; retrieved 2026-11-02; source updated Not reported

Revision: 5361d86ee35d58e25a5f0815d2d312cfd25a95b18a25ade51b89e7a9c76fe378

Canonical: https://y2.dev/cve/CVE-2026-118263

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.