Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious JSON with fulfilled Promise node
-
DeliverySubmit to app calling Seroval fromJSON
-
ExploitDeserializer yields plugin callable-bearing thenable
-
ExecutionNative Promise settlement assimilates thenable
-
ImpactCallable invoked, attacker code runs in app
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Type safety enforcement
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three specific conditions from the description: (1) the application must run a plugin-capable Seroval release in the vulnerable range 0.12.0 through 1.6.1 (fixed in 1.6.2); (2) the attacker must be able to supply attacker-controlled JSON into the Seroval fromJSON deserialization path, i.e. the app deserializes untrusted input; and (3) a plugin must produce a callable-bearing thenable referenced by a fulfilled Promise control node. The triggering invocation occurs through native Promise settlement after the value is deserialized, which is why it bypasses the 1.5.3 resolver type-confusion fix for CVE-2026-59940. Limiting factors: applications that never deserialize untrusted data, or that use non-plugin Seroval, are not practically exploitable despite the 9.8 score; there is no authentication or user-interaction requirement where the deserialization path is reachable. |
| Impact | All provided signals point to a genuinely high-severity flaw, but one that is conditional rather than universal. The NVD CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:H, 9.8 Critical) describes a network-reachable, low-complexity, unauthenticated path to full confidentiality, integrity and availability loss, consistent with CWE-843 type confusion leading to arbitrary code execution via ECMAScript thenable assimilation. The patch commit (f1ffcc9, 'guard thenables', shipped in 1.6.2) is confirmed from the GitHub source evidence and adds an isThennable check in the deserializer, corroborating the mechanism. However, no EPSS score, no CISA KEV listing, and no public POC are present in the input, so there is no evidence of active or imminent exploitation; this is currently a credible-but-theoretical critical, not a confirmed in-the-wild threat. The headline 9.8 overstates real-world reach because exploitation is gated on application-side conditions the CVSS vector does not capture: the app must use a plugin-capable Seroval build and must feed attacker-controlled JSON into fromJSON. Note also this flaw explicitly bypasses the 1.5.3 remediation for CVE-2026-59940, so defenders who assumed that earlier patch closed the issue remain exposed - a point worth escalating. Net: a real priority for Solid-ecosystem apps that deserialize untrusted input with plugins enabled, but lower practical risk for deployments that do not. |
| Exploit ScenarioDerived | An application built on a plugin-capable Seroval release (0.12.0 up to but not including 1.6.2) deserializes untrusted input via fromJSON - for example rehydrating client-submitted state. An attacker submits crafted JSON encoding a fulfilled Promise control node whose referenced value is a plugin-produced callable-bearing thenable; when the native Promise resolver assimilates it, the attacker's callable is invoked, executing code in the application context. No public exploit code is identified at time of analysis, though the patch diff discloses the mechanism. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 02, 2026
Deserialization of attacker-controlled JSON in plugin-capable Seroval releases 0.12.0 through 1.6.1 lets a remote unauthenticated attacker cause a plugin-produced callable to be invoked unexpectedly through native Promise settlement, resulting in arbitrary code execution in applications that pass untrusted input to the library's fromJSON path. The root cause is a thenable type-confusion defect (CWE-843) that bypasses the Promise resolver remediation shipped in 1.5.3 for CVE-2026-59940 because the dangerous invocation happens inside the native Promise resolution procedure after deserialization rather than in the resolver itself. CVSS is rated 9.8, and no public exploit code was identified at time of analysis; vendor-released patch: Seroval 1.6.2.
RemediationAI
Upgrade to vendor-released patch Seroval 1.6.2 (and seroval-plugins 1.6.2), which adds the thenable guard in deserializer.ts so that a fulfilled or rejected Promise node whose deserialized value is a thenable raises SerovalMalformedNodeError instead of being handed to the native resolver; see GHSA-p6vx-979v-rg4c and commit f1ffcc96d259f9b5b3d71feb262b58240c90e7b7. Where an immediate upgrade is not possible, the most effective compensating control is to stop passing untrusted JSON into fromJSON at all, since the flaw requires attacker-controlled input on the deserialization path; if untrusted input must be processed, inspect or sanitize deserialized values so that no object with a callable 'then' property can reach a Promise resolver, or run deserialization in a locked-down sandbox or separate process with no privileged capabilities. Disabling Seroval plugins on untrusted-input paths also removes the callable-bearing thenable source, but the trade-off is loss of legitimate custom (de)serialization behavior. All of these workarounds weaken or remove intended functionality or add parsing overhead, so upgrading to 1.6.2 remains the preferred fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Seroval is a JavaScript value stringification/deserialization library built to handle structures beyond JSON.stringify, including Promises, and it exposes a plugin system so third-party plugins can serialize and revive custom types. In the vulnerable range, the deserializer's handling of a fulfilled Promise control node passed the deserialized value directly into a native Promise resolver without first checking whether that value was a thenable. Under the ECMAScript promise-resolution procedure, any object exposing a callable 'then' property is assimilated, meaning the engine reads and invokes that 'then' callable; in a plugin-capable application an attacker-controlled JSON payload can therefore smuggle in a value whose 'then' is a callable, and settlement of the Promise triggers its execution. This is a type confusion (CWE-843) between an ordinary deserialized value and a callable-bearing thenable. Because the invocation occurs through native Promise settlement after the referenced value has been deserialized, the 1.5.3 fix for CVE-2026-59940 (which addressed resolver type confusion) does not intercept it. The 1.6.2 fix adds an isThennable() guard in packages/seroval/src/core/context/deserializer.ts that throws SerovalMalformedNodeError if a thenable appears at a fulfilled/rejected Promise node, and consolidates the former resolve/reject handlers into a single deserializePromiseFulfill routine, matching the changelog entry 'guard thenables'.
Know when Seroval gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Unauthenticated attacker-controlled JSON reaches deserialization (AV:N/PR:N/UI:N) and reliably triggers callable invocation (AC:L), yielding code execution with full C/I/A impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Seroval facilitates JS value stringification, including complex structures beyond JSON.stringify capabilities. From 0.12.0 until 1.6.2, fromJSON deserialization of a fulfilled Promise control node can pass a plugin-produced callable-bearing thenable to a native Promise resolver. ECMAScript thenable assimilation then invokes the callable unexpectedly, allowing attacker-controlled JSON to trigger code in applications using plugin-capable Seroval releases. This path bypasses the Promise resolver type-confusion remediation in version 1.5.3 for CVE-2026-59940 because the unexpected invocation occurs through native Promise settlement after the referenced value is deserialized. This issue is fixed in version 1.6.2.
Technical POC Analysis
Type confusion, CWE-843.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
Seroval, a JavaScript serialization library embedded in many web applications and frameworks, is affected by an unauthenticated remote code execution flaw in releases 0.12.0 through 1.6.1 that is triggered whenever an application deserializes untrusted JSON through the library's fromJSON path. The defect specifically defeats the safeguard the vendor shipped in 1.5.3 for an earlier, related vulnerability, so teams that already remediated that prior issue may still be exposed without knowing it. Any customer-facing or internal product that accepts external JSON and depends on an affected Seroval version should be treated as potentially compromised-capable, making this a supply-chain exposure that spans multiple business units rather than a single system.
Apply vendor patch. Until the upgrade to Seroval 1.6.2 is validated in your environment, prevent untrusted input from reaching the fromJSON path and enforce strict JSON schema validation at every trust boundary.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Deserialization in Seroval prior to 1.6.8 accepts sequence nodes whose done and throw indices are unvalidated, so a craf
Denial of service in the seroval npm package (versions 1.4.1 through 1.6.7) lets an unauthenticated remote attacker who
Seroval deserialization can invoke attacker-chosen callables when an application passes untrusted input to fromJSON and
Script injection in seroval's JavaScript-output serializers lets a RegExp whose source contains '<' terminate an HTML <s
Denial of service in Seroval versions prior to 1.6.3 allows unauthenticated remote attackers to exhaust CPU and memory b
Arbitrary code execution in Seroval versions 1.4.0 and below allows authenticated attackers to execute malicious JavaScr
Seroval versions 1.4.0 and below are vulnerable to denial of service through malformed deserialization payloads that spe
Seroval versions 1.4.0 and below are vulnerable to denial of service attacks due to unbounded recursion when serializing
Seroval versions 1.4.0 and below allow remote attackers to cause denial of service through maliciously crafted RegExp pa
Seroval is affected by improperly controlled modification of object prototype attributes (prototype pollution) (CVSS 7.3
Code injection in the Seroval JavaScript serialization library 1.6.0 through 1.6.10 lets attacker-controlled text become
EUVD-2026-91747
GHSA-p6vx-979v-rg4c
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB