# CVE-2026-59940: Seroval: `seroval.fromJSON()` Promise resolver type confusion invokes attacker-controlled methods during deserialization

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 51% of CVEs (2026-12-01)
- Published: 2026-07-24T16:14:05.000Z
- Modified: 2026-10-22T22:10:00.250Z
- Also known as: GHSA-mv8w-475r-vwqw
- Weaknesses: CWE-502, CWE-843
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

Seroval facilitates JS value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.5.3, seroval.fromJSON() allows attacker-controlled JSON Promise control nodes to operate on values from the general deserialization reference table without verifying genuine internal Promise resolver records, causing deserialization side effects with plugins enabled and potentially unintended server-side invocation or remote code execution when downstream frameworks register callable wrappers. This issue is fixed in version 1.5.3.

(As written by CVE List.)

## Affected

- lxsmnsyc seroval: < 1.5.3
- seroval (npm): before 1.5.3

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/lxsmnsyc/seroval/security/advisories/GHSA-mv8w-475r-vwqw> (web)
- <https://github.com/lxsmnsyc/seroval> (package)
- <https://www.npmjs.com/package/seroval/v/1.5.3> (web)

## Sources

- CVE List: [CVE-2026-59940](https://www.cve.org/CVERecord?id=CVE-2026-59940), CVE Terms of Use, modified 2026-08-18
- GitHub Advisory Database: [GHSA-mv8w-475r-vwqw](https://github.com/advisories/GHSA-mv8w-475r-vwqw), CC-BY-4.0, modified 2026-07-24
- NVD: [CVE-2026-59940](https://nvd.nist.gov/vuln/detail/CVE-2026-59940), Public domain, modified 2026-10-22

---

Page: https://cve.day/CVE-2026-59940 · Whole record: https://cve.day/CVE-2026-59940.json · Rebuilt by cve.day 2026-11-25T22:59:33.476Z
