> CVE-2026-59952 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-07-30 01:17
MODIFIED
2026-07-30 01:17
CVSS_SCORE V3
6.9
EPSS (Prob. Exploit)
0.52%
Top 56.4%
DATA SOURCES:
NVD đź”— 2026-07-30 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-10-25 GITHUB đź”— 2026-10-29 OSV đź”— 2026-08-05

> DESCRIPTION

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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

> MÉTRIQUES CVSS DÉTAILLÉES

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
Low
Interruption partielle du service possible

> WEAKNESSES

CWE-755

> CWE DETAILED DESCRIPTIONS

CWE-755: Improper Handling of Exceptional Conditions - The product does not handle or incorrectly handles an exceptional condition.

> GITHUB SECURITY ADVISORY

GHSA-5qjj-4xww-7phc MODERATE

Valibot: record() issue paths can make flatten() throw for inherited Object property names

AFFECTED PACKAGES:
NPM / valibot
<= 1.4.1
Fixed in: 1.4.2

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Valibot: record() issue paths can make flatten() throw for inherited Object property names

AFFECTED PACKAGES:
Unknown / Unknown
125 versions affected
ALIASES:
GHSA-5qjj-4xww-7phc

> HISTORIQUE DES MODIFICATIONS

Première apparition
30/07/2026 01:17
Source: NVD
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-755: Improper Handling of Exceptional Conditions - The product does not handle or incorrectly handles an exceptional condition.
Total des modifications: 1 Dernière mise à jour: 3 months ago

> REFERENCES

https://github.com/open-circle/valibot/commit/1bd01c304657cd0809cc92694360b6cc60...
https://github.com/open-circle/valibot/pull/1522
https://github.com/open-circle/valibot/releases/tag/v1.4.2
https://github.com/open-circle/valibot/security/advisories/GHSA-5qjj-4xww-7phc
« BACK_TO_HOME