Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. hono
  4. ›
  5. CVE-2026-54288

CVE-2026-54288: hono: Body Limit Middleware can be bypassed on AWS Lambda by understating `Content-Length`

June 16, 2026 (updated July 21, 2026)

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.

References

  • github.com/advisories/GHSA-rv63-4mwf-qqc2
  • github.com/honojs/hono/security/advisories/GHSA-rv63-4mwf-qqc2
  • nvd.nist.gov/vuln/detail/CVE-2026-54288

Code Behaviors & Features

Detect and mitigate CVE-2026-54288 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.12.25

Fixed versions

  • 4.12.25

Solution

Upgrade to version 4.12.25 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-345: Insufficient Verification of Data Authenticity

Source file

npm/hono/CVE-2026-54288.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:15 +0000.