Vulnerabilities · 2020 · Pi-hole
CVE-2020-12620
Pi-hole vulnerability
Pi-hole 4.4 allows a user able to write to /etc/pihole/dns-servers.conf to escalate privileges through command injection (shell metacharacters after an IP address).
Affected products
Pi-hole. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pi-hole runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- pi-hole.net/ · Vendor Advisory
- 0xpanic.github.io/2020/07/21/Pihole.html · Exploit
- github.com/pi-hole/pi-hole · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2020-12620
- cve.org/CVERecord?id=CVE-2020-12620
More vulnerabilities in Pi-hole products
CVE-2025-59151CVE-2025-53533CVE-2025-34087CVE-2025-32785CVE-2024-44069CVE-2024-34361CVE-2024-28247CVE-2023-23614All 26
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.