CVE-2026-93748: Http cache semantics Http-cache-semantics Max-stale Handling Can Disclose Vulnerability

HIGH
Advisory Identifier: GHSA-ch52-4w7c-c8xp
CVSS 7.5
CWE-524
Published
Advisory Summary

CVE-2026-93748 is a HIGH (CVSS 7.5) http-cache-semantics max-stale handling can disclose vulnerability (CWE-524: Use of Cache Containing Sensitive Information) affecting Http cache semantics libraries in the npm ecosystem. The issue involves http-cache-semantics max-stale handling can disclose cross-user cached responses. Remediation is available in the latest vendor maintenance releases.

CVE-2026-93748 at a Glance

CVE Identifier CVE-2026-93748
GHSA Identifier GHSA-ch52-4w7c-c8xp
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-524: Use of Cache Containing Sensitive Information
Affected Product Http cache semantics
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-93748

To remediate this vulnerability, upgrade all affected Http cache semantics dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

http-cache-semantics fixed: Latest secure release
npm install http-cache-semantics@Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls http-cache-semantics

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-93748, inspect your project dependencies using npm:

npm ls http-cache-semantics

Analyze the terminal output to locate any version of Http cache semantics in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The npm ls http-cache-semantics command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-524: Use of Cache Containing Sensitive Information, where the code uses a cache that contains sensitive information, but the cache can be read by an actor outside of the intended control sphere. In Http cache semantics, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

http-cache-semantics through 4.2.0 fails to properly validate security-zeroed cache entries when processing client max-stale directives, allowing unauthenticated attackers to retrieve cached responses belonging to other users. Attackers can request the same URL with a large max-stale value to obtain another user's Set-Cookie session credentials from shared-cache entries that were deliberately zeroed for security reasons.

CVE-2026-93748 Affected Http cache semantics Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
http-cache-semantics
npm
≤ 4.2.0

References

Frequently Asked Questions

What is CVE-2026-93748?
CVE-2026-93748 is a security vulnerability in Http cache semantics involving http-cache-semantics max-stale handling can disclose cross-user cached responses under CWE-524: Use of Cache Containing Sensitive Information.
Which Http cache semantics versions are affected?
Affected versions include releases prior to current release patches across affected packages: http-cache-semantics.
What version fixes CVE-2026-93748?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is http-cache-semantics affected?
Yes, http-cache-semantics is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-93748?
CVE-2026-93748 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-93748?
CVE-2026-93748 is classified under CWE-524: Use of Cache Containing Sensitive Information (The code uses a cache that contains sensitive information, but the cache can be read by an actor outside of the intended control sphere.).
How can I check npm dependencies for CVE-2026-93748?
Run the dependency tree command: 'npm ls http-cache-semantics'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-ch52-4w7c-c8xp",
  "modified" : "2026-10-02T22:36:42Z",
  "published" : "2026-09-18T18:31:44Z",
  "aliases" : [ "CVE-2026-93748" ],
  "summary" : "http-cache-semantics max-stale handling can disclose cross-user cached responses",
  "details" : "http-cache-semantics through 4.2.0 fails to properly validate security-zeroed cache entries when processing client max-stale directives, allowing unauthenticated attackers to retrieve cached responses belonging to other users. Attackers can request the same URL with a large max-stale value to obtain another user's Set-Cookie session credentials from shared-cache entries that were deliberately zeroed for security reasons.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "http-cache-semantics"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "4.2.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-93748"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kornelski/http-cache-semantics/issues/56"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/kornelski/http-cache-semantics"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kornelski/http-cache-semantics/blob/f01112e954b83cfa8765b633ba880e5e980aa54c/index.js#L425-L441"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kornelski/http-cache-semantics/blob/f01112e954b83cfa8765b633ba880e5e980aa54c/index.js#L603-L623"
  }, {
    "type" : "WEB",
    "url" : "https://www.vulncheck.com/advisories/http-cache-semantics-through-4.2.0-cross-user-cache-disclosure-via-max-stale"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-524" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-10-02T22:36:42Z",
    "nvd_published_at" : "2026-09-18T18:18:33Z"
  }
}