CVE-2026-23737: Seroval Remote Code Execution Vulnerability

HIGH
Advisory Identifier: GHSA-3rxj-6cgf-8cfw
CVSS 7.5
CWE-502
Published
Advisory Summary

CVE-2026-23737 is a HIGH (CVSS 7.5) remote code execution vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Seroval libraries in the npm ecosystem. The issue involves seroval affected by remote code execution via json deserialization. Remediation is available by upgrading affected packages to version 1.4.1.

CVE-2026-23737 at a Glance

CVE Identifier CVE-2026-23737
GHSA Identifier GHSA-3rxj-6cgf-8cfw
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Seroval
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-23737

To remediate this vulnerability, upgrade all affected Seroval dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

seroval fixed: 1.4.1
npm install seroval@1.4.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls seroval

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-23737, inspect your project dependencies using npm:

npm ls seroval

Analyze the terminal output to locate any version of Seroval in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.4.1), your application is affected.

Note: The npm ls seroval command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Seroval, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Improper input handling in the JSON deserialization component can lead to arbitrary JavaScript code execution. The vulnerability can be exploited via overriding constant value and error deserialization, which allows indirect access to unsafe JS evaluation. This requires at least the ability to perform 4 separate requests on the same function and partial knowledge of how the serialized data is used during later runtime processing. This vulnerability affects the `fromJSON` and `fromCrossJSON` functions in a client-to-server transmission scenario. No known workarounds or mitigations are known, so please upgrade to the patched version.

CVE-2026-23737 Affected Seroval Versions

1 component(s)
Fixed Versions:
1.4.1
Product / Package Ecosystem Affected Versions Fixed Version
seroval
npm
< 1.4.1
1.4.1

References

Frequently Asked Questions

What is CVE-2026-23737?
CVE-2026-23737 is a security vulnerability in Seroval involving seroval Affected by Remote Code Execution via JSON Deserialization under CWE-502: Deserialization of Untrusted Data.
Which Seroval versions are affected?
Affected versions include releases prior to 1.4.1 across affected packages: seroval.
What version fixes CVE-2026-23737?
Upgrading to 1.4.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is seroval affected?
Yes, seroval is affected in releases prior to 1.4.1. Upgrade your dependency to 1.4.1 or later.
What is the CVSS score of CVE-2026-23737?
CVE-2026-23737 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-23737?
CVE-2026-23737 is classified under CWE-502: Deserialization of Untrusted Data (The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.).
How can I check npm dependencies for CVE-2026-23737?
Run the dependency tree command: 'npm ls seroval'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3rxj-6cgf-8cfw",
  "modified" : "2026-01-22T15:39:49Z",
  "published" : "2026-01-21T15:41:22Z",
  "aliases" : [ "CVE-2026-23737" ],
  "summary" : "seroval Affected by Remote Code Execution via JSON Deserialization",
  "details" : "Improper input handling in the JSON deserialization component can lead to arbitrary JavaScript code execution.\n\nThe vulnerability can be exploited via overriding constant value and error deserialization, which allows indirect access to unsafe JS evaluation. This requires at least the ability to perform 4 separate requests on the same function and partial knowledge of how the serialized data is used during later runtime processing. \n\nThis vulnerability affects the `fromJSON` and `fromCrossJSON` functions in a client-to-server transmission scenario.\n\nNo known workarounds or mitigations are known, so please upgrade to the patched version.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "seroval"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.4.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/lxsmnsyc/seroval/security/advisories/GHSA-3rxj-6cgf-8cfw"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-23737"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/lxsmnsyc/seroval/commit/ce9408ebc87312fcad345a73c172212f2a798060"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/lxsmnsyc/seroval"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-502" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-01-21T15:41:22Z",
    "nvd_published_at" : "2026-01-21T23:15:52Z"
  }
}