CVE-2026-104846
CRITICAL 9.8CVSS 3.1Seroval: `fromJSON()` Promise thenable assimilation invokes plugin-produced callables (bypass of GHSA-mv8w-475r-vwqw)
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.
- Published
- 2 Oct 2026
- Last modified
- 1 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-843
- Also known as
- GHSA-p6vx-979v-rg4c
- Sources
- NVDJSONOSV GHSA-p6vx-979v-rg4cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | seroval | >= 0.12.0, < 1.6.2 | 1.6.2 |
References
- https://github.com/lxsmnsyc/seroval/commit/f1ffcc96d259f9b5b3d71feb262b58240c90e7b7 · WEB
- https://github.com/lxsmnsyc/seroval/security/advisories/GHSA-p6vx-979v-rg4c · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-104846 · ADVISORY
- https://github.com/lxsmnsyc/seroval · PACKAGE
History
- 1 Dec 2026 15:17 UTC · OSV: updated (other details)
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 2 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Oct 2026)