Origin validation error in undici - CVE-2026-109829

 

Origin validation error in undici - CVE-2026-109829

Published: November 3, 2026


Vulnerability identifier: #VU158705
CSH Severity: Medium
CVSS v4: 9.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-109829
CWE-ID: CWE-346
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to poison a shared cache and disclose private data belonging to other users.

The vulnerability exists due to improper origin validation and failure to preserve redirect cache-control policies in the undici cache interceptor when storing redirected responses under the original request URL. A remote attacker can control the target of a redirect from a trusted URL to cache malicious content under that URL, or retrieve another user's cached response after an authenticated request follows a private, no-store redirect to a user-specific resource.

Affected applications must use an originless Agent, a shared MemoryCacheStore or SqliteCacheStore, and the interceptor composition compose(redirect(), cache()).


Affected software

undici

How to mitigate CVE-2026-109829

Install security update from vendor's website.

undici - addressed in versions 7.30.1, 8.12.2

External References

Related Security Bulletins