CVE-2026-16728
Last modified
CVE-2026-16728 is a medium-severity vulnerability rated 4.8/10 on the CVSS scale. 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 malicious or faulty upstream can return a partial response with a mismatched framing header, close the socket early, and have the retry interceptor assemble a body of a different length while the original Content-Length stays attached.
Description
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 malicious or faulty upstream can return a partial response with a mismatched framing header, close the socket early, and have the retry interceptor assemble a body of a different length while the original Content-Length stays attached. Applications that use the retry interceptor and forward upstream headers and bodies downstream, such as proxies or gateways, may then emit an invalid HTTP response with a stale Content-Length, leading to downstream response desynchronization, connection hangs, or response corruption. Exploitation requires the retry interceptor enabled, an upstream returning a mismatched partial response, and a downstream forwarder that does not remove or recalculate Content-Length. The issue is fixed in undici 6.28.0, 7.29.0, and 8.9.0.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| undici | undici | < 6.28.0; >= 7.0.0, < 7.29.0; >= 8.0.0, < 8.9.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-16728?
How severe is CVE-2026-16728?
How do I fix CVE-2026-16728?
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-1668The web interface on multiple Omada switches does not adequa…9.8
- CVE-2026-1669Arbitrary file read in the model loading mechanism (HDF5 int…7.5
- CVE-2026-1670The affected products are vulnerable to an unauthenticated A…9.8
- CVE-2026-1671The Activity Log for WordPress plugin for WordPress is vulne…6.5
- CVE-2026-1672The BEAR – Bulk Editor and Products Manager Professional for…6.5
- CVE-2026-16723A remote code execution (RCE) vulnerability exists in fastjs…9
- CVE-2026-16729undici's setCookie function does not fully sanitize cookie a…4.8
- CVE-2026-1673The BEAR – Bulk Editor and Products Manager Professional for…4.3
- CVE-2026-16730A flaw was found in dbus-broker. When the process file-descr…5.5
- CVE-2026-16733A weakness has been identified in bahmutov find-cypress-spec…5.3
- CVE-2026-16735A security vulnerability has been detected in release-it con…5.3
- CVE-2026-1674The Gutena Forms – Contact Form, Survey Form, Feedback Form,…6.5
Are you affected by CVE-2026-16728?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
