PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-59952 open-circle CVE debrief

CVE-2026-59952 is a vulnerability in the Valibot library that can cause a TypeError when validation issues contain attacker-controlled object keys. This issue is reachable through normal record() validation and can lead to application crashes instead of returning structured validation errors. The vulnerability affects applications using the Valibot library, particularly those that validate user-controlled objects with record() and flatten validation errors for API responses. Defenders should assess exposure and prioritize upgrading to version 1.4.2 or later to prevent potential application crashes.

Vendor
open-circle
Product
valibot
CVSS
MEDIUM 6.9
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-30
Original CVE updated
2026-10-23
Advisory published
2026-07-30
Advisory updated
2026-10-23

Who should care

Defenders responsible for applications using the Valibot library should assess exposure and prioritize upgrading to version 1.4.2 or later to prevent potential application crashes.

Why it matters

CVE-2026-59952 is a vulnerability in the Valibot library that can cause a TypeError when validation issues contain attacker-controlled object keys, potentially leading to application crashes and impacting API response handling.

  • Potential application crashes due to TypeError
  • Inability to return structured validation errors
  • Need for upgrade to version 1.4.2 or later
  • Possible impact on API response handling

Technical summary

The Valibot library has a vulnerability that can cause a TypeError when validation issues contain attacker-controlled object keys. This issue is reachable through normal record() validation and can lead to application crashes instead of returning structured validation errors. The vulnerability is caused by the flatten() helper function in Valibot, which can throw a TypeError when validation issues contain attacker-controlled object keys. The issue is fixed in version 1.4.2. Applications that validate user-controlled objects with record() and flatten validation errors for API responses are particularly affected.

Defensive priority

Defenders should prioritize upgrading to version 1.4.2 or later to prevent potential application crashes.

Recommended defensive actions

  • Upgrade to Valibot version 1.4.2 or later
  • Review and update validation error handling to prevent application crashes
  • Monitor for potential attacks exploiting this vulnerability
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The vulnerability is caused by the flatten() helper function in Valibot, which can throw a TypeError when validation issues contain attacker-controlled object keys. The issue is fixed in version 1.4.2.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-59952 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-59952

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-59952 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-59952

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.