CVE-2026-44456: Hono: bodyLimit() can be bypassed for chunked / unknown-length requests

Published May 6, 2026
·
Updated

Summary

bodyLimit() does not reliably enforce maxSize for requests without a usable Content-Length (e.g. Transfer-Encoding: chunked). Oversized requests can reach handlers and return 200 instead of 413.

Details

For chunked / unknown-length requests, bodyLimit() wraps the body in a stream that counts bytes asynchronously, then runs the handler before the size decision is final. The 413 is only applied afterwards by checking c.error.

This lets the limit be bypassed when:

- the handler does not read the body, - the handler reads only the first chunk(s) and returns, or - the handler reads the body but swallows the read error in try/catch.

In all three cases the handler returns 200 before the limit check completes (or its result is observed).

The fix is to enforce the size decision before next() runs, instead of retrofitting the response via c.error afterwards.

Impact

Applications relying on bodyLimit() as a hard boundary can be bypassed: oversized chunked requests can reach handler logic and return successful responses. Per-request data exposure is bounded by maxSize, but the documented guarantee — "oversized requests are rejected before business logic runs" — does not hold.

Credits

- @lalalala5678 (slow chunked / early return variants) - @Jvr2022 (error handling bypass)

Other sources

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.16, bodyLimit() does not reliably enforce maxSize for requests without a usable Content-Length (e.g. Transfer-Encoding: chunked). Oversized requests can reach handlers and return 200 instead of 413. This vulnerability is fixed in 4.12.16.

MITRE

Affected Software

2 affected componentsFixes available
npm/hono<4.12.16
4.12.16
Hono Hono Node.js<4.12.16

Event History

May 6, 2026
Advisory Published
via GitHub·11:50 PM
Data Sourced
via GitHub·11:50 PM
DescriptionSeverityWeaknessAffected Software
May 13, 2026
CVE Published
via MITRE·02:58 PM
Data Sourced
via MITRE·02:58 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-44456?

CVE-2026-44456 is rated as a high severity vulnerability due to the risk of oversized requests being improperly handled.

2

How do I fix CVE-2026-44456?

To fix CVE-2026-44456, update to version 4.12.16 of the Hono package or later.

3

What kind of requests are affected by CVE-2026-44456?

CVE-2026-44456 affects requests that use chunked transfer encoding or do not include a usable Content-Length header.

4

What is the potential impact of CVE-2026-44456?

The potential impact of CVE-2026-44456 is that oversized requests can reach application handlers, resulting in a misleading HTTP 200 response instead of the expected 413 error.

5

Which package is impacted by CVE-2026-44456?

CVE-2026-44456 impacts the Hono package prior to version 4.12.16.

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