Skip to content
OpenAdvisories
Low · 3.7 CVE-2026-85008 EUVD-2026-71489GHSA-8436-99hf-9mmv

undici vulnerable to caching and replay of unsafe HTTP method responses

Published Sep 4, 2026 · Updated Sep 4, 2026 · Assigned by openjs

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.

Affected products

VendorProductAffectedFixed
undici undici 7.0.0 – < 7.29.1, 8.0.0 – < 8.10.2 7.29.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-undici 8.10.2+dfsg+~cs3.2.2-1 —
Debian 13 node-undici No fix yet —
Debian 12 node-undici No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-undici No fix yet —
Ubuntu 26.04 LTS node-undici No fix yet —
Ubuntu 24.04 LTS node-undici No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 grafana12.4 12.4.10-0.2.hum1 RHSA-2026:66008
Red Hat Hardened Images 1 nodejs24 +6 1:24.18.1-0.2.2.hum1 RHSA-2026:54438
Red Hat Hardened Images 1 nodejs24-npm 1:11.16.0-1.24.18.1.0.2.2.hum1 RHSA-2026:54438
Red Hat Hardened Images 1 nodejs26 +6 1:26.7.0-1.5.2.hum1 RHSA-2026:54389
Red Hat Hardened Images 1 nodejs26-npm 1:11.19.0-1.26.7.0.1.5.2.hum1 RHSA-2026:54389
Red Hat Hardened Images 1 v8-14.6-devel 3:14.6.202.34-1.26.7.0.1.5.2.hum1 RHSA-2026:54389
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 pi-coding-agent 1.0.4-bp160.1.1 openSUSE-SU-2026:22111-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nodejs24 +4 1:24.21.0-1.amzn2023.0.1 ALAS2023-2026-3107
Amazon Linux 2023 nodejs24-npm 1:11.19.0-1.24.21.0.1.amzn2023.0.1 ALAS2023-2026-3107
Amazon Linux 2023 v8-13.6-devel 3:13.6.233.17-1.24.21.0.1.amzn2023.0.1 ALAS2023-2026-3107

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling code-server 4.139.1-r2 —
Wolfi rolling lerna 10.0.1-r11 —
Wolfi rolling node-gyp 13.0.2-r1 —
Wolfi rolling prism 5.16.0-r14 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm undici >= 7.0.0, < 7.29.1 7.29.1 GHSA-8436-99hf-9mmv
npm undici >= 8.0.0, < 8.10.2 8.10.2 GHSA-8436-99hf-9mmv

Advisories 6

References