CVE-2026-54288 Hono: Body Limit Middleware can be bypassed on AWS Lambda by understating `Content-Length`
MediumCVSS 6.5
EPSS 0.15%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- Cloud Platforms
Description
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.25, the Body Limit Middleware trusts the request's Content-Length header to decide whether a body is within the limit. On AWS Lambda (API Gateway v1/v2, ALB, VPC Lattice, and Lambda@Edge) the body is delivered fully buffered and the adapter builds the request with the client-declared Content-Length, which need not match the actual payload. A client can declare a tiny Content-Length while sending a much larger body, slipping past the limit. This vulnerability is fixed in 4.12.25.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm hono(npm) | < 4.12.25 | 4.12.25 | Fixed |
| honojs hono | = < 4.12.25 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| honojs hono | = < 4.12.25 | No fix listed |
| npm hono(npm) | < 4.12.25 | 4.12.25 |
References
- https://github.com/honojs/hono/security/advisories/GHSA-rv63-4mwf-qqc2 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product