Skip to main content

Seroval CVE-2026-104846

| EUVDEUVD-2026-91747 CRITICAL
Access of Resource Using Incompatible Type (Type Confusion) (CWE-843)
2026-10-02 GitHub_M GHSA-p6vx-979v-rg4c
9.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious JSON with fulfilled Promise node
  2. Delivery
    Submit to app calling Seroval fromJSON
  3. Exploit
    Deserializer yields plugin callable-bearing thenable
  4. Execution
    Native Promise settlement assimilates thenable
  5. Impact
    Callable 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
1 PoC candidate (unverified) Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

seroval 0.12.0, < 1.6.2

Affected Packages

npm seroval fix: 1.6.2

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

Vendor (GitHub_M) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.1 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Oct 02, 2026 - 17:02 EUVD
CVE Published
Oct 02, 2026 - 15:59 cve.org
CRITICAL 9.8

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Medium
popular JS serialization library in the SolidJS ecosystem, not universally deployed
Threat Intel
1
1 source
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

69
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2026-116581 HIGH POC
7.5 Oct 26

Deserialization in Seroval prior to 1.6.8 accepts sequence nodes whose done and throw indices are unvalidated, so a craf

CVE-2026-116584 HIGH POC
7.5 Oct 26

Denial of service in the seroval npm package (versions 1.4.1 through 1.6.7) lets an unauthenticated remote attacker who

CVE-2026-116580 HIGH POC
7.3 Oct 26

Seroval deserialization can invoke attacker-chosen callables when an application passes untrusted input to fromJSON and

CVE-2026-116582 MEDIUM POC
4.7 Oct 26

Script injection in seroval's JavaScript-output serializers lets a RegExp whose source contains '<' terminate an HTML <s

CVE-2026-104845 HIGH POC
7.5 Oct 02

Denial of service in Seroval versions prior to 1.6.3 allows unauthenticated remote attackers to exhaust CPU and memory b

CVE-2026-23737 HIGH POC
7.5 Jan 21

Arbitrary code execution in Seroval versions 1.4.0 and below allows authenticated attackers to execute malicious JavaScr

CVE-2026-23957 HIGH
7.5 Jan 22

Seroval versions 1.4.0 and below are vulnerable to denial of service through malformed deserialization payloads that spe

CVE-2026-24006 HIGH
7.5 Jan 22

Seroval versions 1.4.0 and below are vulnerable to denial of service attacks due to unbounded recursion when serializing

CVE-2026-23956 HIGH
7.5 Jan 22

Seroval versions 1.4.0 and below allow remote attackers to cause denial of service through maliciously crafted RegExp pa

CVE-2026-23736 HIGH
7.3 Jan 21

Seroval is affected by improperly controlled modification of object prototype attributes (prototype pollution) (CVSS 7.3

CVE-2026-116583 MEDIUM POC
5.3 Oct 26

Code injection in the Seroval JavaScript serialization library 1.6.0 through 1.6.10 lets attacker-controlled text become

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy