{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-16728",
        "assignerOrgId": "ce714d77-add3-4f53-aff5-83d477b104bb",
        "state": "PUBLISHED",
        "assignerShortName": "openjs",
        "dateReserved": "2026-07-23T04:21:23.161Z",
        "datePublished": "2026-07-29T20:59:02.314Z",
        "dateUpdated": "2026-07-30T15:18:18.440Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "ce714d77-add3-4f53-aff5-83d477b104bb",
                "shortName": "openjs",
                "dateUpdated": "2026-07-29T20:59:02.314Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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.",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "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."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "undici",
                    "product": "undici",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "versionType": "semver",
                            "status": "affected",
                            "version": "0",
                            "lessThan": "6.28.0"
                        },
                        {
                            "versionType": "semver",
                            "status": "unaffected",
                            "version": "6.28.0"
                        },
                        {
                            "versionType": "semver",
                            "status": "affected",
                            "version": "7.0.0",
                            "lessThan": "7.29.0"
                        },
                        {
                            "versionType": "semver",
                            "status": "unaffected",
                            "version": "7.29.0"
                        },
                        {
                            "versionType": "semver",
                            "status": "affected",
                            "version": "8.0.0",
                            "lessThan": "8.9.0"
                        },
                        {
                            "versionType": "semver",
                            "status": "unaffected",
                            "version": "8.9.0"
                        }
                    ],
                    "packageURL": "pkg:npm/undici"
                }
            ],
            "references": [
                {
                    "url": "https://github.com/nodejs/undici/security/advisories/GHSA-8xcm-r25x-g524"
                },
                {
                    "url": "https://cna.openjsf.org/security-advisories.html"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "reporter",
                    "value": "samuel871211"
                },
                {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "mcollina"
                },
                {
                    "lang": "en",
                    "type": "remediation reviewer",
                    "value": "UlisesGascon"
                }
            ],
            "title": "undici vulnerable to downstream response desynchronization via retry interceptor",
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
                        "baseScore": 4.8,
                        "baseSeverity": "MEDIUM"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-444",
                            "lang": "en",
                            "description": "CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "x_generator": {
                "engine": "cve-kit 1.0.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-07-30T14:20:06.238159Z",
                                "id": "CVE-2026-16728",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-07-30T15:18:18.440Z"
                }
            }
        ]
    }
}