SB2026070951 - Improper handling of exceptional conditions in Valibot
Published: July 9, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Improper handling of exceptional conditions (CVE-ID: CVE-2026-59952)
CWE-ID: CWE-755 - Improper Handling of Exceptional Conditions
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to improper handling of exceptional conditions in the flatten() helper when processing validation issues containing attacker-controlled object keys that collide with inherited Object.prototype property names. A remote attacker can supply a crafted JSON object that causes record() validation to produce an issue path such as toString and trigger a TypeError in flatten() to cause a denial of service.
This issue is reachable through normal record() validation and affects applications that flatten validation errors for API responses.
Remediation
Install update from vendor's website.