SCA: security update for undici (GHSA-v3r7-h72x-cjcm)

medium Tenable Cloud Security Plugin ID 445601

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- undici's setCookie function does not fully sanitize cookie attributes. 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 domain value is not checked for semicolons and
entries in the unparsed array are not sanitized, so attacker-influenced input can inject additional cookie
attributes. For example, a domain value containing a semicolon can append attributes such as SameSite, and
an unparsed entry can inject attributes such as HttpOnly, without the caller setting them. Applications
that pass user-controlled input to these fields, such as multi-tenant or reverse-proxy servers that scope
session cookies to a tenant-supplied domain, can have SameSite CSRF protections bypassed, or the Secure,
HttpOnly, and SameSite attributes forced, stripped, or overridden. The issue is fixed in undici 6.28.0,
7.29.0, and 8.9.0. (CVE-2026-16729)

Solution

Update the undici library and its related packages to version 6.28.0 or later.

See Also

https://github.com/advisories/GHSA-v3r7-h72x-cjcm

Plugin Details

Severity: Medium

ID: 445601

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 8/4/2026

Updated: 8/4/2026

Risk Information

VPR

Risk Factor: Low

Score: 2.1

Percentile: 7.89

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2026-16729

CVSS v3

Risk Factor: Medium

Base Score: 4.8

Temporal Score: 4.2

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/3/2026

Vulnerability Publication Date: 7/29/2026

Reference Information

CVE: CVE-2026-16729

cwe: CWE-74