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-1853The BuddyHolis ListSearch plugin for WordPress is vulnerable…6.4
- CVE-2026-18531IBM Maximo Application Suite 9.2, 9.1, and 9.0 could allow a…5.3
- CVE-2026-18532Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-18534ArcSearch for iOS versions prior to 1.48.0 could keep the ad…7.4
- CVE-2026-18536Data::Entropy versions before 0.010 for Perl read remote ent…7.5
- CVE-2026-1854The Post Flagger plugin for WordPress is vulnerable to Store…6.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-18547The Ultimate Member – User Profile, Registration, Login, Mem…6.4
- CVE-2026-18549@fastify/multipart is a multipart form-data parser for Fasti…7.5
- CVE-2026-18550The Nokri - Job Board WordPress Theme for WordPress is vulne…9.8
- CVE-2026-18554IBM Db2 Mirror for i 7.4, 7.5, and 7.6 could allow a remote …7.5
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
