SCA: security update for valibot (GHSA-5qjj-4xww-7phc)

medium Tenable Self-Hosted Container Security Plugin ID 445286

Description

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

- Valibot helps validate data using a schema. Versions prior to 1.4.2 can throw a TypeError inside its
flatten() helper when validation issues contain attacker-controlled object keys such as toString, valueOf,
or hasOwnProperty. The issue is reachable through normal record() validation. record() intentionally
filters __proto__, prototype, and constructor, but it still accepts other own keys that collide with
inherited Object.prototype properties. If the record key schema or value schema rejects such an entry,
Valibot creates an issue path containing that key. Passing the resulting issues to Valibot's documented
flatten() helper causes flatErrors.nested[dotPath] to resolve to the inherited method instead of an own
error array, and the helper calls .push(...) on that function. This is not a global prototype pollution
issue. The impact is availability/error handling: applications that validate user-controlled objects with
record() and flatten validation errors for API responses can crash the request path with a TypeError
instead of returning structured validation errors. This issue has been fixed in version 1.4.2.
(CVE-2026-59952)

Solution

Update the valibot library and its related packages to version 1.4.2 or later.

See Also

https://github.com/advisories/GHSA-5qjj-4xww-7phc

Plugin Details

Severity: Medium

ID: 445286

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 7/24/2026

Updated: 8/31/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.71

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2026-59952

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

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

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

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Threat Score: 2.7

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/24/2026

Vulnerability Publication Date: 7/24/2026

Reference Information

CVE: CVE-2026-59952

cwe: CWE-755