Skip to main content

http-cache-semantics CVE-2026-93748

| EUVDEUVD-2026-83253 HIGH
Use of Cache Containing Sensitive Information (CWE-524)
2026-09-18 VulnCheck GHSA-ch52-4w7c-c8xp
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach shared cache endpoint unauthenticated
  2. Delivery
    Request victim URL with large max-stale
  3. Exploit
    Bypass security-zeroed entry validation
  4. Execution
    Receive cached response
  5. Impact
    Extract another user's Set-Cookie session credential

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V3 - Web Frontend Security Cache-Control for sensitive pages
Exploitation Conditions

Exploitation requires that http-cache-semantics (through 4.2.0) be used to drive a SHARED cache that has stored a response containing sensitive per-user data such as a Set-Cookie session credential, where that entry was deliberately 'security-zeroed' by the library. The attacker then re-requests the identical URL supplying a large Cache-Control: max-stale directive, whose mishandling causes the zeroed entry to be served instead of suppressed. Limiting factors: no impact on private/per-user caches or deployments that never cache authenticated responses; the vulnerable path is entirely dependent on the downstream application's shared-cache configuration, so it is not exploitable against the library in isolation despite the PR:N/AC:L vector.

Impact

The vendor CVSS 4.0 base score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H, all other impacts N) frames this as a high-severity, network-reachable, unauthenticated confidentiality-only flaw - consistent with CWE-524 (Use of Cache Containing Sensitive Information). No EPSS score, no CISA KEV listing, and no explicit public exploit code are present in the provided data; VulnCheck (the reporter) published an advisory and a GitHub issue (#56) documenting the mechanism, but that is analysis, not confirmed weaponization. The realistic risk is materially GATED by a deployment precondition the CVSS vector does not capture: http-cache-semantics is a policy-computation library, not a cache store, so cross-user Set-Cookie disclosure only materializes when a downstream consumer uses it to drive a SHARED cache that actually retains authenticated/credential-bearing responses. Where that condition holds (a shared HTTP cache serving many users), the impact is serious - full session-credential theft - but the 'unauthenticated, default-config' reading of PR:N/AC:L overstates typical exposure, since most private/per-user cache deployments never reach the vulnerable path. Net: a genuine high-confidentiality bug worth prioritizing for any operator running http-cache-semantics behind a shared cache, but not a broad, automatable internet-wide threat on the strength of the score alone.

Exploit ScenarioDerived

An application uses http-cache-semantics to govern a shared HTTP cache that at some point stored an authenticated response (with a Set-Cookie session credential) that the library flagged/zeroed as security-sensitive and not to be reserved. An unauthenticated attacker requests the same URL with a large Cache-Control: max-stale value; the flawed max-stale handling fails to honor the security-zeroing and returns the retained cached response, leaking another user's session cookie. VulnCheck's advisory documents the flaw and points to the exact source lines, but no standalone public exploit is identified in the provided data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 18, 2026

Cross-user information disclosure in the http-cache-semantics npm library (through 4.2.0) allows unauthenticated attackers to retrieve cached HTTP responses belonging to other users from a shared cache. By re-requesting an identical URL with a large client-supplied Cache-Control: max-stale directive, an attacker can cause the library to serve cache entries that were deliberately security-zeroed - such as responses carrying Set-Cookie session credentials - instead of suppressing them. The vendor CVSS 4.0 score is 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H), while the independent assessment rates it CVSS 3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N, reflecting that real-world exploitation depends on a downstream shared-cache configuration that stores authenticated responses; the vendor advisory is available from VulnCheck. No public exploit code and no confirmed active exploitation were identified at time of analysis.

RemediationAI

No vendor-released patch was identified at time of analysis, and no fixed version number is published in the available references, so remediation must start with compensating controls while tracking https://github.com/kornelski/http-cache-semantics/issues/56 for an upstream release and applying it as soon as a patched version is available (also monitor https://www.vulncheck.com/advisories/http-cache-semantics-through-4.2.0-cross-user-cache-disclosure-via-max-stale). The most effective control is to stop using this library as the policy engine for any shared cache that holds authenticated content: treat responses containing Set-Cookie or other per-user state as non-cacheable at the application/infrastructure layer (for example by having the origin emit Cache-Control: private, no-store or by stripping/ignoring client-supplied max-stale before the policy is evaluated), with the trade-off of reduced cache hit ratios and higher origin load. If the shared cache must remain in place, sanitize requests at the edge by rejecting or clamping max-stale directives and by re-stripping Set-Cookie from any response served from cache, accepting that this is a partial mitigation because it does not correct the library's internal entry-validation logic. A lower-cost alternative for affected services is to downgrade to private, per-user cache instances or bypass the shared cache path for authenticated URLs, at the cost of losing cross-user cache efficiency. Because exploitation is unauthenticated and network-reachable (CVSS:4.0 PR:N/UI:N), these controls should be applied before any further caching of session-bearing responses is enabled.

Affected VersionsENISA

http-cache-semantics 0 ≤4.2.0

Affected Packages

npm http-cache-semantics no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

http-cache-semantics is a JavaScript implementation of HTTP caching semantics (RFC 7234/9111) used by Node.js HTTP clients, proxies, and caching middleware to decide whether a stored response may be reused or must be revalidated. Root cause is CWE-524, Use of Cache Containing Sensitive Information: the library maintains the notion of entries that are 'security-zeroed' - responses that must not be served across users, typically because they embed per-user state such as Set-Cookie - but its handling of client max-stale directives fails to preserve that protection. The referenced source locations (index.js lines ~425-441 and ~603-623 at commit f01112e) are the code paths that evaluate freshness/staleness and the max-stale request directive; when a large max-stale value is supplied, the zeroed entry is treated as acceptable and returned rather than treated as unusable. The feature is a pure cache-policy function, so the impact is confined to deployments that wire it into a shared cache layer; the library itself does not store responses, and private per-user caches are not affected. CPE cpe:2.3:a:kornelski:http-cache-semantics:*:*:*:*:*:*:*:* confirms all versions through 4.2.0 are in scope.

Know when Http Cache Semantics gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 5.9 MEDIUM

Network, unauthenticated confidentiality-only leak of session credentials (C:H, I/A:N), but AC:H because it depends on a shared-cache deployment that retained a credentialed, security-zeroed entry.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Red Hat 7.5 HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

The npm library http-cache-semantics (all versions through 4.2.0) can be induced by an unauthenticated party to release cached HTTP responses that belong to other users, including responses carrying Set-Cookie session credentials, when the library sits behind a shared cache. Because the affected component is a widely embedded dependency rather than a standalone product, the true exposure depends on how many of our internet-facing services use a shared cache that stores authenticated responses; those services put customer sessions and account integrity at risk. While no public exploit code or confirmed active exploitation was identified at time of analysis, leadership should treat this as a high-priority session-credential confidentiality issue pending a vendor fix.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable shared caching of authenticated responses or enforce Cache-Control: private, no-store on responses containing Set-Cookie; reject or strip client-supplied max-stale directives at the cache/edge; avoid placing http-cache-semantics behind shared caches that store authenticated content; monitor the vendor advisory for a fix and upgrade above 4.2.0 when released.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
High
http-cache-semantics is a foundational npm HTTP-caching dependency of many popular clients
Threat Intel
1
1 sources
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA MSRC Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 12 Not-Affected
SUSE Linux Enterprise Micro 5.3 Affected
SUSE Linux Enterprise Micro 5.3 Affected
SUSE Linux Enterprise Micro 5.4 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy