CVE Catalog

CVE-2026-118263

MediumCVSS 6.3
Published: Translated: NVD NIST

Summary

Echo, a Go web framework, from 5.0.0 until 5.4.1 has a vulnerability in BodyDump middleware that can discard a BodyLimit overflow error for an unknown-length request when BodyDump's capture limit is below the BodyLimit threshold. An HTTP/1.1 chunked request can be truncated and processed successfully despite exceeding the configured limit.

Risk Assessment

An attacker may bypass the request body size limit and deliver data that should have been rejected, potentially affecting application logic.

Recommendation

Update Echo to 5.4.1. Ensure BodyDump's capture limit is not below the BodyLimit threshold.

Other vulnerabilities in Echo

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS