CVE-2026-59952
Last modified
CVE-2026-59952 is a medium-severity vulnerability rated 6.9/10 on the CVSS scale. 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. EPSS estimates a 0.52% chance of exploitation in the next 30 days.
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.
Metrics
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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| open-circle | valibot | < 1.4.2 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-59952?
How severe is CVE-2026-59952?
How do I fix CVE-2026-59952?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-59943Dompdf is an HTML to PDF converter for PHP. In versions 3.15…5.3
- CVE-2026-59946Composer is a dependency Manager for the PHP language. Prior…6.1
- CVE-2026-59947Composer is a dependency Manager for the PHP language. Prior…4.7
- CVE-2026-59948Composer is a dependency Manager for the PHP language. Prior…7
- CVE-2026-5995A weakness has been identified in Totolink A7100RU 7.4cu.231…9.8
- CVE-2026-59950The MCP Python SDK, called mcp on PyPI, is a Python implemen…8.1
- CVE-2026-59954Apollo is a reliable configuration management system suitabl…7.5
- CVE-2026-59955Apollo is a reliable configuration management system suitabl…7.5
- CVE-2026-5996A security vulnerability has been detected in Totolink A7100…9.8
- CVE-2026-5997A vulnerability was detected in Totolink A7100RU 7.4cu.2313_…9.8
- CVE-2026-5998A flaw has been found in zhayujie chatgpt-on-wechat CowAgent…5.5
- CVE-2026-5999A vulnerability has been found in JeecgBoot up to 3.9.1. Thi…6.3
Are you affected by CVE-2026-59952?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
