Description
undici's cache interceptor documents that only safe HTTP methods are cached, but its logic to skip caching is built by subtracting the configured methods from the set of safe methods, so an unsafe method such as POST, PUT, or DELETE is never placed in the skip list and instead falls through to the full cache-read path. The response-storage gate also lacked a method check, so a response to an unsafe request that is heuristically cacheable or carries an explicit Cache-Control directive is stored and later replayed from cache. Because response headers from a remote origin are untrusted, an origin can answer once with a cacheable status and then have the client's own subsequent state-changing requests to that path served from the stale cache entry without ever reaching the origin, an integrity failure that occurs under the interceptor's default configuration. This affects undici versions from 7.0.0 up to 7.29.1 and from 8.0.0 up to 8.10.2. Users should upgrade to undici 7.29.1 or 8.10.2.
Published: 2026-09-04
Score: 3.7 Low
EPSS: < 1% Very Low
KEV: No
Impact: Integrity Failure
Action: Patch Upgrade
AI Analysis

Impact

The flaw in undici’s cache interceptor allows unsafe HTTP methods such as POST, PUT, or DELETE to be cached because the logic that skips caching mistakenly excludes these methods from the skip list. A response to an unsafe request that is either heuristically cacheable or carries a Cache‑Control directive is then stored and can be replayed for subsequent identical requests. Since response headers from the origin are untrusted, an attacker can orchestrate a scenario where a client’s state‑changing request receives a stale, cached response instead of reaching the original server, thereby preventing the intended state change and breaching data integrity. This has the character of an integrity failure driven by improper cache validation (CWE‑345) and improper caching of unsafe HTTP methods (CWE‑444).

Affected Systems

All Node.js applications that use the undici HTTP client library versions 7.0.0 through 7.29.1 and 8.0.0 through 8.10.2 are affected. The vulnerability exists in the undici:undici product as maintained by the Node.js Foundation.

Risk and Exploitability

The vulnerability carries a CVSS score of 3.7, indicating a low severity classification. EPSS data is unavailable and the issue is not listed in the CISA KEV catalog, suggesting limited known exploitation. The likelihood of exploitation is inferred to be low because an attacker would need to induce the client to make a cacheable unsafe request and rely on an intermediary that respects undici’s caching policy. Nevertheless, the integrity impact, as described by CWE‑345 and CWE‑444, warrants prompt action. No requirement for privileged access or remote code execution is necessary; the exploit relies on normal client traffic and cache behavior.

Generated by OpenCVE AI on September 5, 2026 at 01:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade undici to version 7.29.1 or 8.10.2
  • If an upgrade is not immediately possible, configure undici to disable caching of unsafe HTTP methods in the interceptor settings
  • As a temporary workaround, disable the cache interceptor altogether in production environments

Generated by OpenCVE AI on September 5, 2026 at 01:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 15 Sep 2026 14:30:00 +0000

Type Values Removed Values Added
First Time appeared Nodejs
Nodejs undici
CPEs cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*
Vendors & Products Nodejs
Nodejs undici

Sat, 05 Sep 2026 22:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 05 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-444
References
Metrics threat_severity

None

threat_severity

Low


Fri, 04 Sep 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Undici
Undici undici
Vendors & Products Undici
Undici undici

Fri, 04 Sep 2026 16:45:00 +0000

Type Values Removed Values Added
Description undici's cache interceptor documents that only safe HTTP methods are cached, but its logic to skip caching is built by subtracting the configured methods from the set of safe methods, so an unsafe method such as POST, PUT, or DELETE is never placed in the skip list and instead falls through to the full cache-read path. The response-storage gate also lacked a method check, so a response to an unsafe request that is heuristically cacheable or carries an explicit Cache-Control directive is stored and later replayed from cache. Because response headers from a remote origin are untrusted, an origin can answer once with a cacheable status and then have the client's own subsequent state-changing requests to that path served from the stale cache entry without ever reaching the origin, an integrity failure that occurs under the interceptor's default configuration. This affects undici versions from 7.0.0 up to 7.29.1 and from 8.0.0 up to 8.10.2. Users should upgrade to undici 7.29.1 or 8.10.2.
Title undici vulnerable to caching and replay of unsafe HTTP method responses
Weaknesses CWE-345
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: openjs

Published:

Updated: 2026-09-04T19:28:57.123Z

Reserved: 2026-09-02T18:36:19.010Z

Link: CVE-2026-85008

cve-icon Vulnrichment

Updated: 2026-09-04T19:28:54.243Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-04T17:17:02.347

Modified: 2026-09-15T14:20:11.717

Link: CVE-2026-85008

cve-icon Redhat

Severity : Low

Publid Date: 2026-09-04T16:42:40Z

Links: CVE-2026-85008 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T01:30:17Z

Weaknesses
  • CWE-345

    Insufficient Verification of Data Authenticity

  • CWE-444

    Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')