CVE-2026-93748: http-cache-semantics Max-Stale Handling Vulnerability Leading to Cross-User Cache Disclosure

http-cache-semantics Updated 03 Oct 2026

Summary

18/09/2026
No i
High
7.5

CVE-2026-93748: http-cache-semantics max-stale handling can disclose cross-user cached responses. Affects http-cache-semantics versions < 4.2.0. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

http-cache-semantics is an npm package that provides a robust implementation of HTTP caching semantics, allowing developers to manage cache behavior in web applications effectively. It supports various cache directives and is widely used in applications that require efficient data retrieval and storage. However, a vulnerability in versions up to 4.2.0 has been identified, which can lead to unauthorized access to cached responses belonging to other users.

Vulnerability Detail

The vulnerability arises from improper validation of security-zeroed cache entries when processing client max-stale directives. This flaw allows unauthenticated attackers to exploit the system by requesting the same URL with a large max-stale value, potentially retrieving another user's Set-Cookie session credentials from shared-cache entries that were intended to be secure. The ramifications of this vulnerability are significant, as it can lead to session hijacking and unauthorized access to user accounts.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can implement additional validation checks on the server-side to ensure that cached responses are not served to unauthorized users, although this may not be a complete solution.

Conclusion

The http-cache-semantics package has a critical vulnerability that can lead to cross-user cache disclosure, allowing attackers to access sensitive information. It is crucial for users of this package to update to the latest version to protect their applications from potential exploitation.

See every vulnerability recorded for http-cache-semantics →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 7.5, indicating a high severity level.

Versions of http-cache-semantics up to and including 4.2.0 are affected by this vulnerability.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor for open-source vulnerabilities without requiring any signup.

The potential consequences include unauthorized access to user sessions and sensitive data, leading to session hijacking and compromised user accounts.

While the best solution is to update to a patched version, implementing additional server-side validation can serve as a temporary mitigation strategy.

Related vulnerabilities

Recent vulnerabilities recorded for http-cache-semantics.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback