CVE-2026-18540
Last modified
CVE-2026-18540 is a low-severity vulnerability rated 3.7/10 on the CVSS scale. 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 trustworthy resume checkpoint, for example a non-success response whose headers were already sent or a partial-content response with an unusable content range, then closes the connection and answers the resumed range request with more bytes. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
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 trustworthy resume checkpoint, for example a non-success response whose headers were already sent or a partial-content response with an unusable content range, then closes the connection and answers the resumed range request with more bytes. As a result the response body can be longer than the Content-Length that the application observes. An application that relays such a response to a downstream HTTP/1.1 peer without normalizing the framing can emit a body that exceeds the forwarded Content-Length, and the excess bytes can be interpreted as the start of a following response, which enables downstream response splitting or desynchronization. Exploitation requires an attacker-controlled upstream server and an application that forwards the response through a framing-sensitive path. This affects undici versions before 6.28.1, from 7.0.0 up to 7.29.1, and from 8.0.0 up to 8.10.2. Users should upgrade to undici 6.28.1, 7.29.1, or 8.10.2.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nodejs | Undici | < 6.28.1 |
| Nodejs | Undici | >= 7.0.0, < 7.29.1 |
| Nodejs | Undici | >= 8.0.0, < 8.10.2 |
References
- https://cna.openjsf.org/security-advisories.htmlVendor Advisory
- https://github.com/nodejs/undici/security/advisories/GHSA-r53p-7pc4-xj5rMitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-18540?
How severe is CVE-2026-18540?
How do I fix CVE-2026-18540?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-18533IBM Maximo Application Suite - Location Service for Esri Com…6.5
- CVE-2026-18534ArcSearch for iOS versions prior to 1.48.0 could keep the ad…7.4
- CVE-2026-18535IBM API Connect 10.0.8.0 through 10.0.8.12 and 12.1.0.0 thro…9.6
- CVE-2026-18536Data::Entropy versions before 0.010 for Perl read remote ent…7.5
- CVE-2026-18537IBM Maximo Application Suite - Location Service for Esri Com…8.7
- CVE-2026-1854The Post Flagger plugin for WordPress is vulnerable to Store…6.4
- CVE-2026-18541IBM Planning Analytics 2.0, and 2.1 is vulnerable to stored …5.4
- CVE-2026-18544IBM Portieris 0.5.0 through 0.14.2 could allow a remote auth…8.1
- CVE-2026-18545IBM Langflow OSS 1.0.0 through 1.11.1 is vulnerable to serve…4.3
- CVE-2026-18546IBM CockroachDB PostgreSQL for IBM VPC 26.2.0 through 26.2.3…5.4
- CVE-2026-18547The Ultimate Member – User Profile, Registration, Login, Mem…6.4
- CVE-2026-18548The Groundhogg — CRM, Newsletters, and Marketing Automation …7.2
Are you affected by CVE-2026-18540?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
