Remote Code Execution Risk in toml-node Parser for Node.js
CVE-2026-77465

7.5HIGH

Key Information:

Vendor

Binarymuse

Status
Vendor
CVE Published:
3 September 2026

What is CVE-2026-77465?

The toml-node library, a TOML parser utilized in both Node.js and browser environments, has a vulnerability in its parsing mechanism that allows for potential remote code execution. Specifically, the recursive-descent parser in versions earlier than 4.2.0 lacks a depth limit for nested arrays and inline tables. This flaw can be exploited by sending a malicious TOML document with extensive nested structures, which can lead to the exhaustion of the Node.js call stack and result in an unexpected termination of the process. To mitigate this risk, upgrading to version 4.2.0 or later is essential.

Affected Version(s)

toml-node < 4.2.0

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.