Skip to main content
CVE-2024-30260VulnerabilityPublished Updated

Undici's Proxy-Authorization header not cleared on cross-origin redirect for dispatch, request, stream, pipeline

Affects undiciSource GCVE Database

0
Compare
Authoritative record:CVE-2024-30260· Low 3.9

Not known to be exploited · CVSS 3.9 Low : upgrade to 5.28.4 when convenient.

Data as of 4 Nov 2026, 17:27 UTC

CVSS 3.1 base score
3.9Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.13.9
Patch
Available – fixed in 5.28.4, 6.11.1
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Apr 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Nov 2026.

What to do

Upgrade undici to 5.28.4; undici to 6.11.1.

Affected software

ProductAffectedFixed in
npmundiciAffected
  • <5.28.4
Fixed in
  • 5.28.4
npmundiciAffected
  • >=6.0.0 <6.11.1
Fixed in
  • 6.11.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Undici to version 5.28.4 or later, or 6.11.1 or later, where the issue is fixed. Alternatively, use the fetch() API which already clears these headers correctly, or disable maxRedirections to prevent automatic redirects that trigger the vulnerability.

Description

Undici, a Node.js HTTP client, had a vulnerability where the Proxy-Authorization header was not cleared on cross-origin redirects for certain request methods like undici.request(), unlike fetch() which cleared these headers. This could lead to unintended credential exposure during redirects. The issue has been patched in versions 5.28.4 and 6.11.1. Users are advised to upgrade to these versions or use fetch() or disable maxRedirections as a workaround.

References

Community reviews

Loading reviews…