CVE-2018-7160: Node.js
High severity, CVSS 8.8. EPSS: 9.9% chance of exploitation in the next 30 days.
The Node.js inspector, in 6.x and later is vulnerable to a DNS rebinding attack which could be exploited to perform remote code execution. An attack is possible from malicious websites open in a web browser on the same computer, or another computer with network access to the computer running the Node.js process. A malicious website could use a DNS rebinding attack to trick the web browser to bypass same-origin-policy checks and to allow HTTP connections to localhost or to hosts on the local network. If a Node.js process with the debug port active is running on localhost or on a host on the local network, the malicious website could connect to it as a debugger, and get full code execution access.
Affected products
- Node.js Node.js: from 6.0.0, up to and including 6.8.1; from 6.9.0, before 6.14.0 (fixed in 6.14.0); from 8.0.0, up to and including 8.8.1; from 8.9.0, before 8.11.0 (fixed in 8.11.0); from 9.0.0, before 9.10.0 (fixed in 9.10.0)
Published 2018-05-17. Last modified 2026-10-08.