ADVISORIES

Vulnerability

CVE-2023-45143

Undici is an HTTP/1.1 client written from scratch for Node.js. Prior to version 5.26.2, Undici already cleared Authorization headers on cross-origin redirects, but did not clear `Cookie` headers. By design, `cookie` headers are forbidden request headers, disallowing them to be set in RequestInit.headers in browser environments. Since undici handles headers more liberally than the spec, there was a disconnect from the assumptions the spec made, and undici's implementation of fetch. As such this may lead to accidental leakage of cookie to a third-party site or a malicious attacker who can control the redirection target (ie. an open redirector) to leak the cookie to the third party site. This was patched in version 5.26.2. There are no known workarounds.

27 advisories report this vulnerability, across 12 ecosystems.

Advisories

  • ALAS2023-2023-412

    Amazon Linux 2023 - ALAS2023-2023-412: Important priority package update for nodejs

    Important CVE-2023-38552CVE-2023-39333CVE-2023-45143 Amazon Linux Updated 3 November 2023
  • ALPINE-CVE-2023-45143

    Undici is an HTTP/1.1 client written from scratch for Node.js. Prior to version 5.26.2, Undici already cleared Authorization headers on cross-origin redirects, but did not clear `Cookie` headers. By design, `cookie`…

    CVE-2023-45143 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2023-45143
    CVE-2023-45143 Alpine Updated 18 November 2026
  • ALSA-2023:5849

    Important: nodejs:18 security update

    Known exploited CVE-2023-38552CVE-2023-39333CVE-2023-44487CVE-2023-45143 AlmaLinux Updated 29 October 2026
  • ALSA-2023:5869

    Important: nodejs:18 security update

    Known exploited CVE-2023-38552CVE-2023-39333CVE-2023-44487CVE-2023-45143 AlmaLinux Updated 29 October 2026
  • ALSA-2023:7205

    Important: nodejs:20 security update

    Known exploited CVE-2023-38552CVE-2023-39331CVE-2023-39332CVE-2023-39333 AlmaLinux Updated 29 October 2026
  • AZL-31338

    CVE-2023-45143 affecting package nodejs18 for versions less than 18.18.2-2

    CVE-2023-45143 Azure Linux Updated 21 April 2026
  • DEBIAN-CVE-2023-45143

    Undici is an HTTP/1.1 client written from scratch for Node.js. Prior to version 5.26.2, Undici already cleared Authorization headers on cross-origin redirects, but did not clear `Cookie` headers. By design, `cookie`…

    CVE-2023-45143 Debian Updated 26 October 2026
  • ELSA-2023-5849

    ELSA-2023-5849: 18 security update (IMPORTANT)

    Important Known exploited CVE-2023-38552CVE-2023-39333CVE-2023-44487CVE-2023-45143 Oracle Linux Updated 20 October 2023
  • ELSA-2023-5869

    ELSA-2023-5869: nodejs:18 security update (IMPORTANT)

    Important Known exploited CVE-2023-38552CVE-2023-39333CVE-2023-44487CVE-2023-45143 Oracle Linux Updated 23 October 2023
  • ELSA-2023-7205

    ELSA-2023-7205: nodejs:20 security update (IMPORTANT)

    Important Known exploited CVE-2023-38552CVE-2023-39331CVE-2023-39332CVE-2023-39333 Oracle Linux Updated 22 November 2023
  • GHSA-wqq4-5wpv-mx2g

    Undici's cookie header not cleared on cross-origin redirect in fetch

    Low CVE-2023-45143 npm Updated 4 February 2026
  • RHSA-2023:5849

    Red Hat Security Advisory: nodejs:18 security update

    Known exploited CVE-2023-38552CVE-2023-39333CVE-2023-44487CVE-2023-45143 Red Hat Updated 13 November 2026
  • RHSA-2023:5869

    Red Hat Security Advisory: nodejs:18 security update

    Known exploited CVE-2023-38552CVE-2023-39333CVE-2023-44487CVE-2023-45143 Red Hat Updated 13 November 2026
  • RHSA-2023:7205

    Red Hat Security Advisory: nodejs:20 security update

    Known exploited CVE-2023-38552CVE-2023-39331CVE-2023-39332CVE-2023-39333 Red Hat Updated 13 November 2026
  • RHVEX-CVE-2023-45143

    node-undici: cookie leakage

    Low CVE-2023-45143 Red Hat Updated 27 October 2026
  • RLSA-2023:5849

    Important: nodejs:18 security update

    Known exploited CVE-2023-38552CVE-2023-39333CVE-2023-44487CVE-2023-45143 Rocky Linux Updated 5 December 2025
  • RLSA-2023:5869

    Important: nodejs:18 security update

    Known exploited CVE-2023-38552CVE-2023-39333CVE-2023-44487CVE-2023-45143 Rocky Linux Updated 5 December 2025
  • RLSA-2023:7205

    Important: nodejs:20 security update

    Known exploited CVE-2023-38552CVE-2023-39331CVE-2023-39332CVE-2023-39333 Rocky Linux Updated 4 February 2026
  • SUSE-SU-2023:4132-1

    Security update for nodejs18

    Known exploited CVE-2023-38552CVE-2023-39333CVE-2023-44487CVE-2023-45143 SUSE Updated 4 February 2026
  • SUSE-SU-2023:4133-1

    Security update for nodejs18

    Known exploited CVE-2023-38552CVE-2023-39333CVE-2023-44487CVE-2023-45143 SUSE Updated 4 February 2026
  • SUSE-SU-2023:4150-1

    Security update for nodejs18

    Known exploited CVE-2023-38552CVE-2023-39333CVE-2023-44487CVE-2023-45143 SUSE Updated 4 February 2026
  • SUSE-SU-2023:4155-1

    Security update for nodejs18

    Known exploited CVE-2023-38552CVE-2023-39333CVE-2023-44487CVE-2023-45143 SUSE Updated 4 February 2026
  • SUSE-SU-2023:4207-1

    Security update for nodejs18

    Known exploited CVE-2023-38552CVE-2023-39333CVE-2023-44487CVE-2023-45143 SUSE Updated 4 February 2026
  • UBUNTU-CVE-2023-45143

    Undici is an HTTP/1.1 client written from scratch for Node.js. Prior to version 5.26.2, Undici already cleared Authorization headers on cross-origin redirects, but did not clear `Cookie` headers. By design, `cookie`…

    CVE-2023-45143 Ubuntu Updated 8 September 2025
  • openSUSE-SU-2024:13337-1

    corepack20-20.8.1-1.1 on GA media

    Known exploited CVE-2023-38552CVE-2023-39331CVE-2023-39332CVE-2023-39333 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:13340-1

    nodejs-electron-25.9.1-2.1 on GA media

    CVE-2023-38552CVE-2023-39333CVE-2023-45143 openSUSE Updated 7 May 2025

References