VYPR

Undici

by Node.js

npm: undici

Source repositories

CVEs (45)

  • CVE-2026-85024MedSep 4, 2026
    risk 0.31cvss 5.9epss 0.00

    undici bundles a WebSocket client whose permessage-deflate size-limit cleanup removes all listeners from the internal zlib inflate stream, including its error listener, while that stream can still emit. When a remote peer sends a compressed payload that crosses the built-in 128…

  • CVE-2026-85014MedSep 4, 2026
    risk 0.31cvss 5.9epss 0.01

    undici's experimental WebSocketStream client crashes the whole Node.js process when a remote peer closes the TCP connection without a WebSocket close handshake. On an unclean close the internal socket-close handler calls abort on the writable stream unconditionally and discards…

  • CVE-2026-14643MedJul 29, 2026
    risk 0.31cvss 5.9epss 0.00

    undici's cache interceptor mishandles optional whitespace placed around the equals sign of a qualified no-cache or private Cache-Control directive. In undici from 7.0.0 up to before 7.29.0 and from 8.0.0 up to before 8.9.0, the parser either drops the directive or stores a field…

  • CVE-2026-9679MedJun 17, 2026
    risk 0.31cvss 5.9epss 0.00

    Impact: undici's cookie parser in parseSetCookie percent-decodes cookie values via qsUnescape, turning encoded sequences like %0D%0A, %00, %3B, and %3D into their literal byte equivalents. RFC 6265 §5.4 does not specify any decoding and browsers do not decode either. …

  • CVE-2026-2581MedMar 12, 2026
    risk 0.31cvss 5.9epss 0.01

    This is an uncontrolled resource consumption vulnerability (CWE-400) that can lead to Denial of Service (DoS). In vulnerable Undici versions, when interceptors.deduplicate() is enabled, response data for deduplicated requests could be accumulated in memory for downstream…

  • CVE-2026-22036MedJan 14, 2026
    risk 0.31cvss 5.9epss 0.00

    Undici is an HTTP/1.1 client for Node.js. Prior to 7.18.0 and 6.23.0, the number of links in the decompression chain is unbounded and the default maxHeaderSize allows a malicious server to insert thousands compression steps leading to high CPU usage and excessive memory…

  • CVE-2022-35948MedAug 15, 2022
    risk 0.28cvss 5.3epss 0.01

    undici is an HTTP/1.1 client, written from scratch for Node.js.`=< [email protected]` users are vulnerable to _CRLF Injection_ on headers when using unsanitized input as request headers, more specifically, inside the `content-type` header. Example: ``` import { request } from…

  • CVE-2022-35949MedAug 12, 2022
    risk 0.28cvss 5.3epss 0.02

    undici is an HTTP/1.1 client, written from scratch for Node.js.`undici` is vulnerable to SSRF (Server-side Request Forgery) when an application takes in **user input** into the `path/pathname` option of `undici.request`. If a user specifies a URL such as `http://127.0.0.1` or…

  • CVE-2022-31150MedJul 19, 2022
    risk 0.28cvss 5.3epss 0.01

    undici is an HTTP/1.1 client, written from scratch for Node.js. It is possible to inject CRLF sequences into request headers in undici in versions less than 5.7.1. A fix was released in version 5.8.0. Sanitizing all HTTP headers from untrusted sources to eliminate `\r\n` is a…

  • CVE-2026-16728MedJul 29, 2026
    risk 0.24cvss 4.8epss 0.00

    undici's retry interceptor can deliver a response whose body length does not match the Content-Length header exposed to the application after a retry or resume of a partial response. In undici before 6.28.0, from 7.0.0 up to before 7.29.0, and from 8.0.0 up to before 8.9.0, a…

  • CVE-2026-16729MedJul 29, 2026
    risk 0.24cvss 4.8epss 0.00

    undici's setCookie function does not fully sanitize cookie attributes. In undici before 6.28.0, from 7.0.0 up to before 7.29.0, and from 8.0.0 up to before 8.9.0, a domain value is not checked for semicolons and entries in the unparsed array are not sanitized, so…

  • CVE-2026-1527MedMar 12, 2026
    risk 0.23cvss 4.6epss 0.00

    ImpactWhen an application passes user-controlled input to the upgrade option of client.request(), an attacker can inject CRLF sequences (\r\n) to: * Inject arbitrary HTTP headers * Terminate the HTTP request prematurely and smuggle raw data to non-HTTP services (Redis,…

  • CVE-2026-15157MedJul 29, 2026
    risk 0.20cvss 4.2epss 0.00

    undici does not validate the type property of a duck-typed blob-like request body before using it as the Content-Type header on the HTTP/1.1 dispatcher. In undici before 6.28.0, from 7.0.0 up to before 7.29.0, and from 8.0.0 up to before 8.9.0, an application that passes a…

  • CVE-2024-30260LowApr 4, 2024
    risk 0.18cvss 3.9epss 0.01

    Undici is an HTTP/1.1 client, written from scratch for Node.js. Undici cleared Authorization and Proxy-Authorization headers for `fetch()`, but did not clear them for `undici.request()`. This vulnerability was patched in version(s) 5.28.4 and 6.11.1.

  • CVE-2024-24758LowFeb 16, 2024
    risk 0.18cvss 3.9epss 0.01

    Undici is an HTTP/1.1 client, written from scratch for Node.js. Undici already cleared Authorization headers on cross-origin redirects, but did not clear `Proxy-Authentication` headers. This issue has been patched in versions 5.28.3 and 6.6.1. Users are advised to upgrade. There…

  • CVE-2023-45143LowOct 12, 2023
    risk 0.18cvss 3.9epss 0.01

    Undici is an HTTP/1.1 client written from scratch for Node.js. Prior to version 5.26.2, Undici already cleared Authorization headers on cross-origin redirects, but did not clear `Cookie` headers. By design, `cookie` headers are forbidden request headers, disallowing them to be…

  • CVE-2026-18540LowSep 4, 2026
    risk 0.17cvss 3.7epss 0.00

    undici's retry interceptor can append the body of a ranged retry response to bytes already delivered from an earlier partial response while still presenting the original response's status and headers. This happens when an upstream server delivers part of a body without a…

  • CVE-2026-85008LowSep 4, 2026
    risk 0.17cvss 3.7epss 0.00

    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…

  • CVE-2026-84947LowSep 4, 2026
    risk 0.17cvss 3.7epss 0.00

    undici's dump interceptor reads and discards a response body up to a configurable maximum size. When a response declares a Content-Length that exceeds the maximum, the interceptor aborts cleanly, but when a response has no Content-Length and is chunked, the interceptor instead…

  • CVE-2026-6733LowJun 17, 2026
    risk 0.17cvss 3.7epss 0.00

    Impact: Undici's HTTP/1.1 client is vulnerable to response queue poisoning on reused keep-alive sockets. An attacker-controlled upstream server can inject an unsolicited HTTP/1.1 response onto an idle socket after a request completes. When the client dispatches the next request…