Appsecure logo

CVE-2026-22036: Medium Vulnerability in Node.js Undici

A medium-severity vulnerability in Node.js's Undici client allows attackers to exploit unbounded decompression chains, leading to high CPU and memory usage. Organizations are advised to patch immediately to mitigate risks.

MEDIUMCVSS 5.9 · Published January 14, 2026

Not a customer? See how AppSecure simulates real world attacks to protect your infrastructure.

Speak to Experts

CVE-2026-22036 is a medium-severity vulnerability in Node.js's Undici, an HTTP/1.1 client. This vulnerability allows a malicious server to exploit the unbounded number of links in the decompression chain, which can lead to significant CPU usage and excessive memory allocation. The issue arises prior to versions 7.18.0 and 6.23.0, where the default maxHeaderSize configuration does not adequately limit the decompression steps. Organizations using affected versions are at risk of denial-of-service conditions due to resource exhaustion.

The vulnerability has a CVSS score of 5.9, indicating medium severity, with a high impact on availability. The attack vector is network-based, and it requires no privileges or user interaction, making it relatively easy to exploit. Given the potential for significant performance degradation, organizations should prioritize patching to versions 7.18.0 or 6.23.0, where this vulnerability has been addressed.

With the increasing reliance on Node.js applications, the implications of this vulnerability highlight the need for continuous monitoring and timely updates to dependencies. The absence of known exploits as of now provides a brief respite, but it is crucial to remain vigilant and prepared.

Organizations should take immediate action to mitigate this vulnerability, including reviewing their current Node.js dependencies and ensuring they are on patched versions. Additionally, implementing security best practices, such as limiting resource usage and monitoring for unusual behavior, can further reduce the risk of exploitation.

Vulnerability Details

The Undici library is designed for HTTP/1.1 client functionality within Node.js applications. The vulnerability allows a malicious server to potentially insert an unbounded number of compression steps during the response process, leading to excessive CPU consumption and memory allocation. This issue has been classified under CWE-770, which pertains to resource exhaustion.

The affected versions span from all versions prior to 6.23.0 and from 7.0.0 to 7.18.2. This vulnerability was published on January 14, 2026, and has since been modified to reflect the patch information.

Technical Analysis

The root cause of this vulnerability lies in the decompression chain handling within the Undici library. The design does not restrict the number of links that can be included in a decompression response, allowing an attacker to craft responses that result in resource exhaustion. The attack vector is network-based, meaning that an attacker can trigger this vulnerability remotely without requiring physical access to the target system.

The attack complexity is classified as high, indicating that while exploitation is feasible, it requires a well-crafted payload and a specific setup. No privileges are required to exploit this vulnerability, and user interaction is not necessary, making it particularly dangerous.

The impact analysis reveals that while confidentiality and integrity are not compromised, the availability impact is rated as high. This means that successful exploitation could lead to denial-of-service scenarios, affecting user access to applications relying on the Undici client.

Risk & Impact Analysis

Risk to organizations includes potential denial-of-service attacks through resource exhaustion. Given the nature of this vulnerability, attackers could leverage it to disrupt service availability, leading to significant downtime and operational impacts. The blast radius can be extensive, particularly for organizations that heavily rely on Node.js for web services or APIs.

Organizations should address this vulnerability in their priority patch cycle. The CVSS score of 5.9 indicates a medium severity level, but the actual impact may vary based on deployment specifics and potential exposure to untrusted inputs. Given that this vulnerability is not currently included in the Known Exploited Vulnerabilities (KEV) catalog, the urgency for remediation is high, ensuring that systems are patched promptly.

Signal

Status

Known Exploit

No

Public PoC

No

Actively Exploited

No

Ransomware Use

No

Affected Versions

All versions prior to 6.23.0 and from 7.0.0 to 7.18.2 are affected by this vulnerability. Organizations should verify their current versions of the Undici library and update accordingly to mitigate risks associated with this vulnerability.

Mitigation & Remediation

Organizations should prioritize patching to versions 7.18.0 or 6.23.0, where this vulnerability has been fixed. If immediate patching is not feasible, consider implementing workarounds such as limiting the size of incoming HTTP headers or using a different library for HTTP communication. For further guidance on secure practices, organizations can refer to the application security assessment resources available.

Detection Guidance

To detect potential exploitation attempts, organizations should monitor logs for unusual patterns of HTTP requests that may indicate resource exhaustion. Behavioral anomalies in server performance, such as sudden spikes in CPU or memory usage, should also be flagged for further investigation.

AppSecure Threat Intelligence Insight

In summary, CVE-2026-22036 represents a significant risk for organizations utilizing the Undici library in Node.js applications. The vulnerability highlights the importance of maintaining updated libraries and monitoring for potential exploitation vectors. As security teams prepare for evolving threat landscapes, it is crucial to implement a robust penetration testing strategy to identify and mitigate vulnerabilities proactively. For further insights on vulnerability management and securing applications, refer to our resources on vulnerability management programs and best practices for secure coding.

Additionally, organizations should leverage tools and services that specialize in penetration testing methodologies to ensure their applications are secure against known vulnerabilities.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Latest CVEs. Recently published vulnerabilities from the NVD database.

View all vulnerabilities
CVE IDSeverity
CVE-2025-65418HIGH
CVE-2025-65417MEDIUM
CVE-2025-65416MEDIUM
CVE-2025-65415MEDIUM
CVE-2025-61314HIGH

Protect Your Business with Hacker-Focused Approach.