---
id: CVE-2018-7160
title: >-
  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
summary: >-
  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 anoth…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-350
  - CWE-290
  - CWE-20
vendor: nodejs
product: node.js
affected:
  - 'node.js >= 6.0.0, <= 6.8.1'
  - 'node.js >= 6.9.0, < 6.14.0'
  - 'node.js >= 8.0.0, <= 8.8.1'
  - 'node.js >= 8.9.0, < 8.11.0'
  - 'node.js >= 9.0.0, < 9.10.0'
patched:
  - node.js 9.10.0
published: '2018-05-17'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T22:16:47.647'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2018-7160'
references:
  - url: 'https://nodejs.org/en/blog/vulnerability/march-2018-security-releases/'
    label: cve-request@iojs.org
  - url: >-
      https://support.f5.com/csp/article/K63025104?utm_source=f5support&amp%3Butm_medium=RSS
    label: cve-request@iojs.org
  - url: 'https://www.oracle.com//security-alerts/cpujul2021.html'
    label: cve-request@iojs.org
  - url: 'https://nodejs.org/en/blog/vulnerability/march-2018-security-releases/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://support.f5.com/csp/article/K63025104?utm_source=f5support&amp%3Butm_medium=RSS
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.oracle.com//security-alerts/cpujul2021.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-7160.json
  - url: 'https://access.redhat.com/security/cve/CVE-2018-7160'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=1561979'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2018-7160'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2018-7160'
  - url: 'https://access.redhat.com/errata/RHSA-2018:2949'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
  - score-dispute
epss: 0.09872
epssPercentile: 0.9546
ingestedAt: '2026-10-08T23:16:47.289Z'
scores:
  nvd: 8.8
  vendor: 5.8
---

## Overview

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

- `node.js >= 6.0.0, <= 6.8.1`
- `node.js >= 6.9.0, < 6.14.0`
- `node.js >= 8.0.0, <= 8.8.1`
- `node.js >= 8.9.0, < 8.11.0`
- `node.js >= 9.0.0, < 9.10.0`

## Remediation

Upgrade past the affected range:

- `node.js 9.10.0`

## Vendor advisories

- **RHSA-2018:2949** · Red Hat · fixed in: Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7), Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4), Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5), Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) · released 2018-10-18 · [advisory](https://access.redhat.com/errata/RHSA-2018:2949)
- **Red Hat VEX** · Moderate · affected: Red Hat Software Collections · no fix planned: Red Hat Software Collections · updated 2026-10-09 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-7160.json)
