CVE-2026-44457: Hono: Cache Middleware ignores Vary: Authorization / Vary: Cookie leading to cross-user cache leakage

Published May 9, 2026
·
Updated

Summary

Cache Middleware does not skip caching for responses that declare per-user variance via Vary: Authorization or Vary: Cookie. As a result, a response cached for one authenticated user may be served to subsequent requests from different users.

Details

The Cache Middleware skips caching when a response carries Vary: , certain Cache-Control directives (private, no-store, no-cache), or Set-Cookie. However, Vary: Authorization and Vary: Cookie — the standard signals defined in RFC 9110 / RFC 9111 to indicate per-user responses — are not treated as cache-skip reasons.

This issue arises when applications use the Cache Middleware on endpoints that return user-specific data and rely on Vary: Authorization or Vary: Cookie to scope the response per user, without also setting Cache-Control: private.

Impact

A user may receive a cached response that was originally generated for a different authenticated user. This may lead to:

- Disclosure of personally identifiable information or other user-specific data present in the response body - Inconsistent or incorrect behavior in user-specific endpoints

This issue affects applications that use the Cache Middleware on endpoints whose responses vary by Authorization or Cookie and that do not also set Cache-Control: private.

Other sources

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.18, Cache Middleware does not skip caching for responses that declare per-user variance via Vary: Authorization or Vary: Cookie. As a result, a response cached for one authenticated user may be served to subsequent requests from different users. This vulnerability is fixed in 4.12.18.

MITRE

Affected Software

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

Event History

May 9, 2026
Advisory Published
via GitHub·12:28 AM
Data Sourced
via GitHub·12:28 AM
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-44457?

CVE-2026-44457 is considered a moderate severity vulnerability due to potential user data exposure.

2

How do I fix CVE-2026-44457?

To fix CVE-2026-44457, upgrade to version 4.12.18 or later of the Hono package.

3

What type of vulnerability is CVE-2026-44457?

CVE-2026-44457 is a caching vulnerability that can lead to responses being incorrectly served between different users.

4

Who is affected by CVE-2026-44457?

CVE-2026-44457 affects applications using the Hono framework prior to version 4.12.18 that utilize caching with user-specific responses.

5

What should I do if I cannot upgrade to fix CVE-2026-44457?

If you cannot upgrade, consider implementing additional security measures to prevent cross-user data exposure until you can apply the fix.

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
CVE-2026-44457 - Hono: Cache Middleware ignores Vary: Authorization / Vary: Cookie leading to cross-user cache leakage - SecAlerts