CVE-2026-1525undici is vulnerable to Inconsistent Interpretation of HTTP Requests ('HTTP…
Undici allows duplicate HTTP Content-Length headers when they are provided in an array with case-variant names (e.g., Content-Length and content-length). This produces malformed HTTP/1.1 requests with multiple conflicting Content-Length values on the wire. Who is impacted: * Applications using undici.request(), undici.Client, or similar low-level APIs with headers passed as flat arrays * Applications that accept user-controlled header names without case-normalization Potential consequences: * Denial of Service: Strict HTTP parsers (proxies, servers) will reject requests with duplicate Content-Length headers (400 Bad Request) * HTTP Request Smuggling: In deployments where an intermediary and backend interpret duplicate headers inconsistently (e.g., one uses the first value, the other uses the last), this can enable request smuggling attacks leading to ACL bypass, cache poisoning, or credential hijacking
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, npm: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-undici | Fix pending | UBUNTU-CVE-2026-1525 | |
| Ubuntu 26.04 | node-undici | Under investigation | UBUNTU-CVE-2026-1525 | |
| Ubuntu 25.10 | node-undici | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-1525 | |
| Ubuntu 24.04 | node-undici | Under investigation | UBUNTU-CVE-2026-1525 | |
| Debian 14 | node-undici | Fixed | 7.24.5+dfsg+~cs3.2.0-1 | DEBIAN-CVE-2026-1525 |
| Debian 13 | node-undici | Fix pending | DEBIAN-CVE-2026-1525 | |
| Red Hat Enterprise Linux 10 | nodejs | Fixed | 1:22.22.2-1.el10_1 | RHSA-2026:7080 |
| Red Hat Enterprise Linux 10 | nodejs-devel | Fixed | 1:22.22.2-1.el10_1 | RHSA-2026:7080 |
| Red Hat Enterprise Linux 10 | nodejs-docs | Fixed | 1:22.22.2-1.el10_1 | RHSA-2026:7080 |
| Red Hat Enterprise Linux 10 | nodejs-full-i18n | Fixed | 1:22.22.2-1.el10_1 | RHSA-2026:7080 |
| Red Hat Enterprise Linux 10 | nodejs-libs | Fixed | 1:22.22.2-1.el10_1 | RHSA-2026:7080 |
| Red Hat Enterprise Linux 10 | nodejs-npm | Fixed | 1:10.9.7-1.22.22.2.1.el10_1 | RHSA-2026:7080 |
| Red Hat Enterprise Linux 10 | nodejs22 | Fixed | 1:22.22.2-1.el10_1 | RHSA-2026:7080 |
| Red Hat Enterprise Linux 10 | nodejs24 | Fixed | 1:24.14.1-2.el10_1 | RHSA-2026:7675 |
| Red Hat Enterprise Linux 10 | nodejs24-devel | Fixed | 1:24.14.1-2.el10_1 | RHSA-2026:7675 |
| Red Hat Enterprise Linux 10 | nodejs24-docs | Fixed | 1:24.14.1-2.el10_1 | RHSA-2026:7675 |
| Red Hat Enterprise Linux 10 | nodejs24-full-i18n | Fixed | 1:24.14.1-2.el10_1 | RHSA-2026:7675 |
| Red Hat Enterprise Linux 10 | nodejs24-libs | Fixed | 1:24.14.1-2.el10_1 | RHSA-2026:7675 |
| Red Hat Enterprise Linux 10 | nodejs24-npm | Fixed | 1:11.11.0-1.24.14.1.2.el10_1 | RHSA-2026:7675 |
| Red Hat Enterprise Linux 9 | nodejs | Fixed | 1:22.22.2-1.module+el9.7.0+24157+8ddb2461 | RHSA-2026:7350 |
| Red Hat Enterprise Linux 9 | nodejs-devel | Fixed | 1:24.14.1-2.module+el9.7.0+24166+51c9666b | RHSA-2026:7302 |
| Red Hat Enterprise Linux 9 | nodejs-docs | Fixed | 1:24.14.1-2.module+el9.7.0+24166+51c9666b | RHSA-2026:7302 |
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | Fixed | 1:22.22.2-1.module+el9.7.0+24157+8ddb2461 | RHSA-2026:7350 |
| Red Hat Enterprise Linux 9 | nodejs-libs | Fixed | 1:24.14.1-2.module+el9.7.0+24166+51c9666b | RHSA-2026:7302 |
| Red Hat Enterprise Linux 9 | nodejs-nodemon | Fixed | 0:3.0.1-1.module+el9.7.0+24157+8ddb2461 | RHSA-2026:7350 |
| Red Hat Enterprise Linux 9 | nodejs-packaging | Fixed | 0:2021.06-6.module+el9.7.0+24166+51c9666b | RHSA-2026:7302 |
| Red Hat Enterprise Linux 9 | nodejs-packaging-bundler | Fixed | 0:2021.06-6.module+el9.7.0+24157+8ddb2461 | RHSA-2026:7350 |
| Red Hat Enterprise Linux 9 | npm | Fixed | 1:11.11.0-1.24.14.1.2.module+el9.7.0+24166+51c9666b | RHSA-2026:7302 |
| Red Hat Enterprise Linux 9 | v8-12.4-devel | Fixed | 3:12.4.254.21-1.22.22.2.1.module+el9.7.0+24157+8ddb2461 | RHSA-2026:7302 |
| Red Hat Enterprise Linux 9 | v8-13.6-devel | Fixed | 3:13.6.233.17-1.24.14.1.2.module+el9.7.0+24166+51c9666b | RHSA-2026:7350 |
| Red Hat Enterprise Linux 8 | nodejs | Fixed | 1:22.22.2-1.module+el8.10.0+24148+847b6786 | RHSA-2026:7670 |
| Red Hat Enterprise Linux 8 | nodejs-devel | Fixed | 1:22.22.2-1.module+el8.10.0+24148+847b6786 | RHSA-2026:7670 |
| Red Hat Enterprise Linux 8 | nodejs-docs | Fixed | 1:24.14.1-2.module+el8.10.0+24190+49a46c75 | RHSA-2026:7123 |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | Fixed | 1:22.22.2-1.module+el8.10.0+24148+847b6786 | RHSA-2026:7670 |
| Red Hat Enterprise Linux 8 | nodejs-libs | Fixed | 1:24.14.1-2.module+el8.10.0+24190+49a46c75 | RHSA-2026:7123 |
| Red Hat Enterprise Linux 8 | nodejs-nodemon | Fixed | 0:3.0.3-1.module+el8.10.0+24190+49a46c75 | RHSA-2026:7123 |
| Red Hat Enterprise Linux 8 | nodejs-packaging | Fixed | 0:2021.06-6.module+el8.10.0+24148+847b6786 | RHSA-2026:7670 |
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | Fixed | 0:2021.06-6.module+el8.10.0+24190+49a46c75 | RHSA-2026:7123 |
| Red Hat Enterprise Linux 8 | npm | Fixed | 1:10.9.7-1.22.22.2.1.module+el8.10.0+24148+847b6786 | RHSA-2026:7670 |
| Red Hat Enterprise Linux 8 | v8-12.4-devel | Fixed | 3:12.4.254.21-1.22.22.2.1.module+el8.10.0+24148+847b6786 | RHSA-2026:7123 |
| Red Hat Enterprise Linux 8 | v8-13.6-devel | Fixed | 3:13.6.233.17-1.24.14.1.2.module+el8.10.0+24190+49a46c75 | RHSA-2026:7670 |
| AlmaLinux 10 | nodejs-docs | Fixed | 1:22.22.2-1.el10_1 | ALSA-2026:7080 |
| AlmaLinux 10 | nodejs24-docs | Fixed | 1:24.14.1-2.el10_1 | ALSA-2026:7675 |
| AlmaLinux 10 | nodejs24-npm | Fixed | 1:11.11.0-1.24.14.1.2.el10_1 | ALSA-2026:7675 |
| AlmaLinux 9 | nodejs | Fixed | 1:24.14.1-2.module_el9.7.0+222+ef1c61e1 | ALSA-2026:7350 |
| AlmaLinux 9 | nodejs-devel | Fixed | 1:24.14.1-2.module_el9.7.0+222+ef1c61e1 | ALSA-2026:7350 |
| AlmaLinux 9 | nodejs-docs | Fixed | 1:24.14.1-2.module_el9.7.0+222+ef1c61e1 | ALSA-2026:7350 |
| AlmaLinux 9 | nodejs-full-i18n | Fixed | 1:24.14.1-2.module_el9.7.0+222+ef1c61e1 | ALSA-2026:7350 |
| AlmaLinux 9 | nodejs-libs | Fixed | 1:24.14.1-2.module_el9.7.0+222+ef1c61e1 | ALSA-2026:7350 |
| AlmaLinux 9 | nodejs-nodemon | Fixed | 3.0.3-3.module_el9.7.0+209+ecf6523e | ALSA-2026:7350 |
| AlmaLinux 9 | nodejs-packaging | Fixed | 2021.06-6.module_el9.7.0+209+ecf6523e | ALSA-2026:7350 |
| AlmaLinux 9 | nodejs-packaging-bundler | Fixed | 2021.06-6.module_el9.7.0+198+8bf605ba | ALSA-2026:7350 |
| AlmaLinux 9 | npm | Fixed | 1:11.11.0-1.24.14.1.2.module_el9.7.0+222+ef1c61e1 | ALSA-2026:7350 |
| AlmaLinux 9 | v8-13.6-devel | Fixed | 3:13.6.233.17-1.24.14.1.2.module_el9.7.0+222+ef1c61e1 | ALSA-2026:7350 |
| AlmaLinux 8 | nodejs | Fixed | 1:22.22.2-1.module_el8.10.0+4158+e796f37f | ALSA-2026:7670 |
| AlmaLinux 8 | nodejs-devel | Fixed | 1:22.22.2-1.module_el8.10.0+4158+e796f37f | ALSA-2026:7670 |
| AlmaLinux 8 | nodejs-docs | Fixed | 1:22.22.2-1.module_el8.10.0+4158+e796f37f | ALSA-2026:7670 |
| AlmaLinux 8 | nodejs-full-i18n | Fixed | 1:22.22.2-1.module_el8.10.0+4158+e796f37f | ALSA-2026:7670 |
| AlmaLinux 8 | nodejs-libs | Fixed | 1:24.14.1-2.module_el8.10.0+4160+4819ac42 | ALSA-2026:7123 |
| AlmaLinux 8 | nodejs-nodemon | Fixed | 3.0.3-1.module_el8.10.0+4061+f8ceeab9 | ALSA-2026:7123 |
| AlmaLinux 8 | nodejs-packaging | Fixed | 2021.06-6.module_el8.10.0+4158+e796f37f | ALSA-2026:7670 |
| AlmaLinux 8 | nodejs-packaging-bundler | Fixed | 2021.06-6.module_el8.10.0+4086+70facd4a | ALSA-2026:7123 |
| AlmaLinux 8 | npm | Fixed | 1:11.11.0-1.24.14.1.2.module_el8.10.0+4160+4819ac42 | ALSA-2026:7123 |
| AlmaLinux 8 | v8-12.4-devel | Fixed | 3:12.4.254.21-1.22.22.2.1.module_el8.10.0+4158+e796f37f | ALSA-2026:7123 |
| AlmaLinux 8 | v8-13.6-devel | Fixed | 3:13.6.233.17-1.24.14.1.2.module_el8.10.0+4160+4819ac42 | ALSA-2026:7670 |
| Rocky Linux 10 | nodejs22 | Fixed | 1:22.22.2-1.el10_1 | RLSA-2026:7080 |
| Rocky Linux 10 | nodejs24 | Fixed | 1:24.14.1-2.el10_1 | RLSA-2026:7675 |
| Rocky Linux 9 | nodejs-nodemon | Fixed | 0:3.0.3-3.module+el9.7.0+40025+0e0cf6b2 | RLSA-2026:7302 |
| Rocky Linux 9 | nodejs-packaging | Fixed | 0:2021.06-6.module+el9.7.0+40052+e32ea525 | RLSA-2026:7350 |
| Rocky Linux 8 | nodejs-nodemon | Fixed | 0:3.0.3-1.module+el8.10.0+2084+ab509703 | RLSA-2026:7123 |
| Rocky Linux 8 | nodejs-packaging | Fixed | 0:2021.06-6.module+el8.10.0+40048+6d99f608 | RLSA-2026:7123 |
| npm library | undici | Fixed | 6.24.0 | GHSA-2mjp-6q6p-2qxm |
What the vendor says
As published in the CVE record by openjs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- undici: affected: < 6.24.0; 7.0.0 < 7.24.0, 6.24.0: 7.24.0 not affected
Workaround: If upgrading is not immediately possible: * Validate header names: Ensure no duplicate Content-Length headers (case-insensitive) are present before passing headers to undici * Use object format: Pass headers as a plain object ({ 'content-length': '123' }) rather than an array, which naturally deduplicates by key * Sanitize user input: If headers originate from user input, normalize header names to lowercase and reject duplicates
References
- https://github.com/nodejs/undici/security/advisories/GHSA-2mjp-6q6p-2qxm
- https://www.rfc-editor.org/rfc/rfc9110.html#section-8.6
- https://cwe.mitre.org/data/definitions/444.html
- https://hackerone.com/reports/3556037
- https://cna.openjsf.org/security-advisories.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.