CVEMETERBack to radar
OFFICIAL RECORD · JavaScript packages

CVE-2026-9679

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 5.9 · medium

undici vulnerable to HTTP header injection via Set-Cookie percent-decoding

Impact: undici's cookie parser in parseSetCookie percent-decodes cookie values via qsUnescape, turning encoded sequences like %0D%0A, %00, %3B, and %3D into their literal byte equivalents. RFC 6265 §5.4 does not specify any decoding and browsers do not decode either. Applications that parse a Set-Cookie header and then forward the parsed value into a response header (proxies, middleware, SSR frameworks) become vulnerable to HTTP response header injection: an attacker-controlled upstream can inject arbitrary Set-Cookie, Location, or Cache-Control headers into the application's downstream response, enabling session fixation, open redirect, or cache poisoning. Affected applications are those that use undici's cookie parsing (parseSetCookie, parseCookie, getSetCookies) and forward the parsed cookie value into a response header. This was introduced in undici 7.0.0 via PR #3789. Patches: Upgrade to undici v6.26.0, v7.28.0 or v8.5.0. Workarounds: If upgrade is not immediately possible, do not forward values returned by parseSetCookie/parseCookie/getSetCookies directly into response headers; sanitize the value first to strip or reject CR, LF, NUL, ;, and = bytes.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.257% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 5.9 · published by openjs
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Assessment source · checked 2026-11-19T12:59:29.883Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:25:55.090ZCISA KEV
cvssverified2026-11-19T12:59:29.883ZCVE Program
epssverified2026-11-19T16:04:57.117ZFIRST EPSS
patchesverified2026-11-19T12:52:31.685ZOSV
affectedverified2026-11-19T12:59:29.883ZCVE Program
lifecycleverified2026-11-19T12:59:29.883ZCVE Program

Affected versions and configuration

undici undici; default status: unaffected: 0 to < 6.26.0 [affected; scheme: semver]; 6.26.0 [unaffected; scheme: semver]; 7.0.0 to < 7.28.0 [affected; scheme: semver]; 7.28.0 [unaffected; scheme: semver]; 8.0.0 to < 8.5.0 [affected; scheme: semver]; 8.5.0 [unaffected; scheme: semver]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "undici",
      "product": "undici",
      "versions": [
        {
          "status": "affected",
          "version": "0",
          "lessThan": "6.26.0",
          "versionType": "semver"
        },
        {
          "status": "unaffected",
          "version": "6.26.0",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "7.0.0",
          "lessThan": "7.28.0",
          "versionType": "semver"
        },
        {
          "status": "unaffected",
          "version": "7.28.0",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "8.0.0",
          "lessThan": "8.5.0",
          "versionType": "semver"
        },
        {
          "status": "unaffected",
          "version": "8.5.0",
          "versionType": "semver"
        }
      ],
      "packageURL": "pkg:npm/undici",
      "defaultStatus": "unaffected"
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-9679",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-06-17T18:31:46.100353Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-06-23T16:12:38.765Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-p88m-4jfj-68fv",
  "aliases": [
    "CVE-2026-9679"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.27.0"
            }
          ]
        }
      ],
      "package": {
        "name": "undici",
        "purl": "pkg:npm/undici",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-p88m-4jfj-68fv/GHSA-p88m-4jfj-68fv.json"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "7.0.0"
            },
            {
              "fixed": "7.28.0"
            }
          ]
        }
      ],
      "package": {
        "name": "undici",
        "purl": "pkg:npm/undici",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-p88m-4jfj-68fv/GHSA-p88m-4jfj-68fv.json"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "8.0.0"
            },
            {
              "fixed": "8.5.0"
            }
          ]
        }
      ],
      "package": {
        "name": "undici",
        "purl": "pkg:npm/undici",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-p88m-4jfj-68fv/GHSA-p88m-4jfj-68fv.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/nodejs/undici/security/advisories/GHSA-p88m-4jfj-68fv",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-9679",
      "type": "ADVISORY"
    },
    {
      "url": "https://cna.openjsf.org/security-advisories.html",
      "type": "WEB"
    },
    {
      "url": "https://github.com/nodejs/undici",
      "type": "PACKAGE"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-93"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "nvd_published_at": "2026-06-17T18:18:06Z",
    "github_reviewed_at": "2026-06-19T14:21:30Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundarynpm / packageundiciNot a distribution channel6.27.0Official record
ecosystem-boundarynpm / packageundiciNot a distribution channel7.28.0Official record
ecosystem-boundarynpm / packageundiciNot a distribution channel8.5.0Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history