CVE-2020-14162
highpriority · track · 31EPSS 0.006 · 48 %ileEUUSEPSS · scored 2026-10-27
An issue was discovered in Pi-Hole through 5.0. The local www-data user has sudo privileges to execute the pihole core script as root without a password, which could allow an attacker to obtain root access via shell metacharacters to this script's setdns command.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://0xpanic.github.io/2020/07/21/Pihole.htmlcnnvd
- https://docs.pi-hole.net/core/pihole-command/cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-14162cnnvd
- https://pi-hole.net/Patchcnnvd
- https://0xpanic.github.io/2020/07/21/Pihole.htmlenisa_euvd
- https://docs.pi-hole.net/core/pihole-command/enisa_euvd
- https://0xpanic.github.io/2020/07/21/Pihole.htmlExploitThird Party Advisorynvd
- https://docs.pi-hole.net/core/pihole-command/Vendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan