Seroval: `fromJSON()` Promise thenable assimilation invokes plugin-produced callables (bypass of CVE-2026-59940)
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-104846
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 02:59 UTC · Revision 1
Source evidence
Seroval: `fromJSON()` Promise thenable assimilation invokes plugin-produced callables (bypass of CVE-2026-59940)
core-osv · Original sourcePublished 2 Oct 2026, 15:59 UTC
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.
osv:CVE-2026-104846
Complete source record
{
"id": "942b1b6ecac83eeaa821e32c9d86587a6f9d585deecfe3202763c1e9cf1620f2",
"url": "https://osv.dev/vulnerability/CVE-2026-104846",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Seroval: `fromJSON()` Promise thenable assimilation invokes plugin-produced callables (bypass of CVE-2026-59940)",
"summary": "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.",
"evidence": "osv:CVE-2026-104846",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2026-104846",
"aliases": [
"CVE-2026-104846",
"GHSA-p6vx-979v-rg4c"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/lxsmnsyc/seroval",
"type": "GIT",
"events": [
{
"introduced": "48c2471aa7c00af0409a9bf7313a6d135055cab6"
},
{
"fixed": "621a4291bc06da75650d9e5f61ad7bde8b1a19ca"
},
{
"fixed": "f1ffcc96d259f9b5b3d71feb262b58240c90e7b7"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0.12.0"
},
{
"fixed": "1.6.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "f1ffcc96d259f9b5b3d71feb262b58240c90e7b7"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"seroval@1.6.1",
"seroval-plugins@1.6.1",
"seroval@1.6.0",
"seroval-plugins@1.6.0",
"v1.5.5",
"seroval@1.5.5",
"seroval-plugins@1.5.5",
"seroval@1.5.2",
"seroval-plugins@1.5.2",
"seroval@1.5.1",
"seroval-plugins@1.5.1",
"seroval@1.5.0",
"seroval-plugins@1.5.0",
"1.5.0",
"1.4.2",
"seroval@1.4.0",
"seroval-plugins@1.4.0",
"v1.3.3",
"v1.3.2",
"v1.3.1",
"v1.3.0",
"v1.2.1",
"v1.2.0",
"v1.1.1",
"v1.1.0",
"v1.0.8",
"v1.0.7",
"v1.0.6",
"v1.0.5",
"v1.0.4",
"v1.0.3",
"v1.0.2",
"v1.0.1",
"v1.0.0",
"v0.15.1",
"v0.15.0",
"v0.14.1",
"v0.14.0",
"v0.13.2",
"v0.13.1",
"v0.13.0",
"v0.12.4",
"v0.12.3",
"v0.12.2",
"v0.12.1",
"v0.12.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-104846.json"
}
}
],
"modified": "2026-10-28T02:30:49.061065357Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104846.json",
"https://github.com/lxsmnsyc/seroval/security/advisories/GHSA-p6vx-979v-rg4c",
"https://nvd.nist.gov/vuln/detail/CVE-2026-104846",
"https://github.com/lxsmnsyc/seroval/commit/f1ffcc96d259f9b5b3d71feb262b58240c90e7b7"
],
"provider_metadata": {
"cwe_ids": [
"CWE-843"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104846.json"
}
},
"related_cves": [
{
"value": "CVE-2026-104846",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 517573,
"published_at": "2026-10-02T15:59:45.802+00:00"
}