CVE-2018-1111 is a command injection flaw in the NetworkManager hook script that Red Hat's DHCP client packages install on RHEL 6 and 7 and Fedora 28 and earlier: a spoofed DHCP reply makes the script run shell commands as root. NVD scores it 7.5 because the attacker must be on the local network. Fix: dhcp updates RHSA-2018:1453 and RHSA-2018:1454.
Vulnerability summary
CVSS base score
7.5
High severity
EPSS score (FIRST)
97.9%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2018-1111 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Red Hat Enterprise Linux 7 dhcp (dhclient) | cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | Fixed in dhcp-4.2.5-68.el7_5.1 (RHSA-2018:1453); EUS/AUS streams 7.2 to 7.4 in RHSA-2018:1455 to 1457. NVD's CPE lists RHEL 7.0 and 7.2 to 7.5 |
| Red Hat Enterprise Linux 6 dhcp (dhclient) | cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* | Fixed in dhcp-4.1.1-53.P1.el6_9.4 (RHSA-2018:1454); EUS/AUS streams 6.4 to 6.7 in RHSA-2018:1458 to 1461. NVD's CPE lists RHEL 6.0 and 6.4 to 6.7 |
| Fedora dhcp | cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:* | Fedora 26, 27 and 28 (NVD CPE configuration; the CVE record names Fedora 28) |
| Red Hat Virtualization 4.2 host and RHV-M appliance | cpe:2.3:a:redhat:enterprise_virtualization:4.2:*:*:*:*:*:*:* | redhat-virtualization-host fixed in RHSA-2018:1524, rhvm-appliance in RHSA-2018:1525; RHV 4.1 ships the script but does not use it (Red Hat) |
| TenableCore Web Application Scanner appliance image | — | Image v20180328 affected; fixed in image v20180702 (Tenable TNS-2018-10); not in NVD's CPE configuration |
What does this mean for affected devices?
NVD carries Red Hat's description: "DHCP packages in Red Hat Enterprise Linux 6 and 7, Fedora 28, and earlier are vulnerable to a command injection flaw in the NetworkManager integration script included in the DHCP client. A malicious DHCP server, or an attacker on the local network able to spoof DHCP responses, could use this flaw to execute arbitrary commands with root privileges." NVD's Primary score is CVSS v3.0 7.5 (CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) with CWE-78 (OS command injection) and a legacy CVSS v2 score of 7.9. Red Hat, the CNA, gives the same 7.5 vector and classes it CWE-77. The record was published on 2018-05-17 (NVD, CVE record).
Why does a DHCP reply reach a root shell?
The DHCP client does not configure everything itself. Red Hat's vulnerability article explains that the dhclient package installs a script for NetworkManager, /etc/NetworkManager/dispatcher.d/11-dhclient on RHEL 7 and 10-dhclient on RHEL 6, which "is executed each time NetworkManager receives a DHCP response from a DHCP server". A malicious response "could cause the script to execute arbitrary shell commands with root privileges". Red Hat rated the issue Critical and credits Felix Wilhelm of the Google Security Team. It also notes that the upstream ISC DHCP project does not ship the script and is not affected, that systems with a static IP address are not affected, and that systems using DHCP through initscripts instead of NetworkManager do not run the script. NVD's references include two public exploits on Exploit-DB.
Which systems and appliances need the update?
Red Hat fixed RHEL 7 in RHSA-2018:1453 (dhcp-4.2.5-68.el7_5.1) and RHEL 6 in RHSA-2018:1454 (dhcp-4.1.1-53.P1.el6_9.4), with RHSA-2018:1455 to 1461 for the extended-support streams. Red Hat Virtualization 4.2 received fixed host and RHV-M appliance images (RHSA-2018:1524 and RHSA-2018:1525); RHV 4.1 includes the script but does not use it. No service restart is needed, because the updated script runs at the next DHCP response. NVD's CPE configuration also lists Fedora 26, 27 and 28.
Appliances built on these distributions inherit the flaw. Tenable's TNS-2018-10 states that the TenableCore Web Application Scanner image v20180328 "was found to contain a command injection flaw in a script included in the bundled DHCP client (dhclient) package" and fixes it in image v20180702. For any appliance or gateway image on a RHEL, CentOS or Fedora base, check the dhcp package version and whether NetworkManager manages a DHCP interface. If an update is impossible, Red Hat lists removing or disabling the script as an option, at the cost of losing DHCP-provided settings such as NTP or NIS servers.
What does it teach for embedded firmware?
The parser was fine; the hook script was not. Embedded DHCP clients also hand options to a shell script running as root, so a host name or domain chosen by the attacker can reach a shell. Our DHCP client and server vulnerabilities guide compares this path with the BusyBox udhcp parser bugs CVE-2018-20679, the dhcpcd overflow CVE-2019-11577 and the option 121 route abuse CVE-2024-3661. The command injection fix guide covers quoting and avoiding the shell.
CVE-2018-1111 is not in the CISA KEV catalog as of 2026-11-19 (catalog version 2026.11.18, 1,786 entries). FIRST EPSS gives it 0.97862, the 99.9th percentile, in the 2026-11-18 dataset (CISA KEV, FIRST EPSS).
Evidence
- NVD: command injection in the NetworkManager integration script of the DHCP client in RHEL 6 and 7, Fedora 28 and earlier; NVD Primary CVSS v3.0 7.5 AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, v2 7.9; NVD CWE-78, Red Hat CWE-77; CPE Fedora 26-28, RHEL 6.0-7.5, RHEV 4.0/4.2; references include Exploit-DB 44652 and 44890 and Tenable TNS-2018-10; published 2018-05-17; read 2026-11-19. — NVD
- CVE record: state PUBLISHED, CNA Red Hat, published 2018-05-17; affected Red Hat dhcp on RHEL 6 and 7 and Fedora dhcp on Fedora 28; CNA CVSS v3.0 7.5 same vector; CWE-77; checked 2026-11-19. — CVE.org
- Red Hat vulnerability article 3442151: script /etc/NetworkManager/dispatcher.d/11-dhclient (RHEL 7) or 10-dhclient (RHEL 6) executed on each DHCP response; Critical; credit Felix Wilhelm (Google); upstream ISC dhcp not impacted; RHV 4.1 includes but does not use the script, RHV 4.2 fixed (RHSA-2018:1524, 1525); errata RHSA-2018:1453 to 1461; no restart needed; static IP and initscripts systems not affected; removing the script loses NTP/NIS settings; read 2026-11-19. — Red Hat
- RHSA-2018:1453 (RHEL 7, Critical) ships dhcp-4.2.5-68.el7_5.1; RHSA-2018:1454 (RHEL 6, Critical) ships dhcp-4.1.1-53.P1.el6_9.4; read 2026-11-19. — Red Hat errata
- Tenable TNS-2018-10: TenableCore Web Application Scanner image v20180328 contained the dhclient script command injection; fixed in image v20180702; initial release 2018-07-05; read 2026-11-19. — Tenable
- Not in the CISA KEV catalog version 2026.11.18 (1,786 entries), checked 2026-11-19. — CISA KEV
- EPSS 0.97862, percentile 0.99908, dataset 2026-11-18, read 2026-11-19. — FIRST EPSS

Related advisories
Sources
- NVD
- CVE.org record CVE-2018-1111
- Red Hat: DHCP Client Script Code Execution Vulnerability (CVE-2018-1111)
- Red Hat RHSA-2018:1453: dhcp security update (RHEL 7)
- Red Hat RHSA-2018:1454: dhcp security update (RHEL 6)
- Tenable TNS-2018-10: TenableCore Web Application Scanner v20180702 fixes third-party vulnerabilities
- CISA KEV
- FIRST EPSS
Frequently asked questions
Which package versions fix CVE-2018-1111?
On RHEL 7, dhcp-4.2.5-68.el7_5.1 from RHSA-2018:1453; on RHEL 6, dhcp-4.1.1-53.P1.el6_9.4 from RHSA-2018:1454. Extended-support streams are fixed in RHSA-2018:1455 to 1461, and Red Hat Virtualization 4.2 images in RHSA-2018:1524 and 1525 (per Red Hat).
Is upstream ISC DHCP affected by CVE-2018-1111?
No. Red Hat states that the upstream ISC DHCP project does not provide the NetworkManager dispatcher script and is not affected. The flaw sits in the script Red Hat's dhclient package installs for NetworkManager (per Red Hat's CVE-2018-1111 article).
Can CVE-2018-1111 be exploited from the internet?
Not directly. The attacker has to run a malicious DHCP server or spoof DHCP replies on the same local network, which is why NVD scores the attack vector as adjacent (AV:A) with high complexity. Systems with static addresses, or using DHCP without NetworkManager, do not run the script (per NVD and Red Hat).
Is CVE-2018-1111 exploited in the wild?
It is not in the CISA KEV catalog as of 2026-11-19 (catalog version 2026.11.18). FIRST EPSS gives it 0.97862, the 99.9th percentile, in the 2026-11-18 dataset, and NVD links two public exploits on Exploit-DB (per CISA KEV, FIRST EPSS and NVD).
Questions about this page?