UBUNTU-CVE-2026-118260: High severity vulnerability

Published Oct 29, 2026
·
Updated

Echo is a Go web framework. From 4.0.0 until 4.16.1, Echo v4's opt-in BodyDump middleware reads complete request bodies into memory before handlers run and retains complete response bodies for the dump callback without capture limits. An unauthenticated client that can reach a route using BodyDump can submit large bodies or influence large responses, causing repeated or concurrent allocations that exhaust process memory. BodyDump is not enabled by default, and external request limits may reduce request-side exposure but do not bound response capture. This issue is fixed in 4.16.1.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Echo v4 to a version that resolves this vulnerability.

    Fixed in 4.16.1

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Only Echo v4 applications that explicitly use the opt-in BodyDump middleware are exposed. BodyDump is not enabled by default; affected versions are 4.0.0 through 4.16.1.

2

What does an attacker need to do to trigger the memory exhaustion?

An unauthenticated attacker needs network access to a route on which BodyDump is active. They can send large request bodies or cause large responses, with repeated or concurrent requests exhausting process memory.

3

Do request-size limits fully mitigate the issue?

No. External request limits can reduce exposure from large request bodies, but they do not limit BodyDump's capture of response bodies.

4

What can be done if upgrading immediately is not possible?

Disable or remove BodyDump middleware from reachable routes. If it must remain enabled, restrict access to those routes and apply request-size limits, recognizing that response-body capture remains unbounded.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203