pi-hole CVE Vulnerabilities & Metrics

Focus on pi-hole vulnerabilities and metrics.

Last updated: 08 Mar 2025, 23:25 UTC

About pi-hole Security Exposure

This page consolidates all known Common Vulnerabilities and Exposures (CVEs) associated with pi-hole. We track both calendar-based metrics (using fixed periods) and rolling metrics (using gliding windows) to give you a comprehensive view of security trends and risk evolution. Use these insights to assess risk and plan your patching strategy.

For a broader perspective on cybersecurity threats, explore the comprehensive list of CVEs by vendor and product. Stay updated on critical vulnerabilities affecting major software and hardware providers.

Global CVE Overview

Total pi-hole CVEs: 20
Earliest CVE date: 09 Oct 2019, 12:15 UTC
Latest CVE date: 26 Jan 2023, 21:18 UTC

Latest CVE reference: CVE-2023-23614

Rolling Stats

30-day Count (Rolling): 0
365-day Count (Rolling): 0

Calendar-based Variation

Calendar-based Variation compares a fixed calendar period (e.g., this month versus the same month last year), while Rolling Growth Rate uses a continuous window (e.g., last 30 days versus the previous 30 days) to capture trends independent of calendar boundaries.

Variations & Growth

Month Variation (Calendar): 0%
Year Variation (Calendar): 0%

Month Growth Rate (30-day Rolling): 0.0%
Year Growth Rate (365-day Rolling): 0.0%

Monthly CVE Trends (current vs previous Year)

Annual CVE Trends (Last 20 Years)

Critical pi-hole CVEs (CVSS ≥ 9) Over 20 Years

CVSS Stats

Average CVSS: 4.92

Max CVSS: 9.0

Critical CVEs (≥9): 1

CVSS Range vs. Count

Range Count
0.0-3.9 6
4.0-6.9 10
7.0-8.9 3
9.0-10.0 1

CVSS Distribution Chart

Top 5 Highest CVSS pi-hole CVEs

These are the five CVEs with the highest CVSS scores for pi-hole, sorted by severity first and recency.

All CVEs for pi-hole

CVE-2023-23614 pi-hole vulnerability CVSS: 0 26 Jan 2023, 21:18 UTC

Pi-hole®'s Web interface (based off of AdminLTE) provides a central location to manage your Pi-hole. Versions 4.0 and above, prior to 5.18.3 are vulnerable to Insufficient Session Expiration. Improper use of admin WEBPASSWORD hash as "Remember me for 7 days" cookie value makes it possible for an attacker to "pass the hash" to login or reuse a theoretically expired "remember me" cookie. It also exposes the hash over the network and stores it unnecessarily in the browser. The cookie itself is set to expire after 7 days but its value will remain valid as long as the admin password doesn't change. If a cookie is leaked or compromised it could be used forever as long as the admin password is not changed. An attacker that obtained the password hash via an other attack vector (for example a path traversal vulnerability) could use it to login as the admin by setting the hash as the cookie value without the need to crack it to obtain the admin password (pass the hash). The hash is exposed over the network and in the browser where the cookie is transmitted and stored. This issue is patched in version 5.18.3.

CVE-2022-23513 pi-hole vulnerability CVSS: 0 23 Dec 2022, 00:15 UTC

Pi-Hole is a network-wide ad blocking via your own Linux hardware, AdminLTE is a Pi-hole Dashboard for stats and more. In case of an attack, the threat actor will obtain the ability to perform an unauthorized query for blocked domains on `queryads` endpoint. In the case of application, this vulnerability exists because of a lack of validation in code on a root server path: `/admin/scripts/pi-hole/phpqueryads.php.` Potential threat actor(s) are able to perform an unauthorized query search in blocked domain lists. This could lead to the disclosure for any victims' personal blacklists.

CVE-2022-31029 pi-hole vulnerability CVSS: 3.5 07 Jul 2022, 22:15 UTC

AdminLTE is a Pi-hole Dashboard for stats and configuration. In affected versions inserting code like `<script>alert("XSS")</script>` in the field marked with "Domain to look for" and hitting <kbd>enter</kbd> (or clicking on any of the buttons) will execute the script. The user must be logged in to use this vulnerability. Usually only administrators have login access to pi-hole, minimizing the risks. Users are advised to upgrade. There are no known workarounds for this issue.

CVE-2021-41175 pi-hole vulnerability CVSS: 3.5 26 Oct 2021, 14:15 UTC

Pi-hole's Web interface (based on AdminLTE) provides a central location to manage one's Pi-hole and review the statistics generated by FTLDNS. Prior to version 5.8, cross-site scripting is possible when adding a client via the groups-clients management page. This issue was patched in version 5.8.

CVE-2021-3812 pi-hole vulnerability CVSS: 4.3 17 Sep 2021, 07:15 UTC

adminlte is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CVE-2021-3811 pi-hole vulnerability CVSS: 4.3 17 Sep 2021, 07:15 UTC

adminlte is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CVE-2021-3706 pi-hole vulnerability CVSS: 5.0 15 Sep 2021, 07:15 UTC

adminlte is vulnerable to Sensitive Cookie Without 'HttpOnly' Flag

CVE-2021-32793 pi-hole vulnerability CVSS: 3.5 04 Aug 2021, 18:15 UTC

Pi-hole's Web interface provides a central location to manage a Pi-hole instance and review performance statistics. Prior to Pi-hole Web interface version 5.5.1, the function to add domains to blocklists or allowlists is vulnerable to a stored cross-site-scripting vulnerability. User input added as a wildcard domain to a blocklist or allowlist is unfiltered in the web interface. Since the payload is stored permanently as a wildcard domain, this is a persistent XSS vulnerability. A remote attacker can therefore attack administrative user accounts through client-side attacks. Pi-hole Web Interface version 5.5.1 contains a patch for this vulnerability.

CVE-2021-32706 pi-hole vulnerability CVSS: 6.5 04 Aug 2021, 18:15 UTC

Pi-hole's Web interface provides a central location to manage a Pi-hole instance and review performance statistics. Prior to Pi-hole Web interface version 5.5.1, the `validDomainWildcard` preg_match filter allows a malicious character through that can be used to execute code, list directories, and overwrite sensitive files. The issue lies in the fact that one of the periods is not escaped, allowing any character to be used in its place. A patch for this vulnerability was released in version 5.5.1.

CVE-2021-29448 pi-hole vulnerability CVSS: 5.8 15 Apr 2021, 16:15 UTC

Pi-hole is a Linux network-level advertisement and Internet tracker blocking application. The Stored XSS exists in the Pi-hole Admin portal, which can be exploited by the malicious actor with the network access to DNS server. See the referenced GitHub security advisory for patch details.

CVE-2021-29449 pi-hole vulnerability CVSS: 7.2 14 Apr 2021, 22:15 UTC

Pi-hole is a Linux network-level advertisement and Internet tracker blocking application. Multiple privilege escalation vulnerabilities were discovered in version 5.2.4 of Pi-hole core. See the referenced GitHub security advisory for details.

CVE-2020-35592 pi-hole vulnerability CVSS: 3.5 18 Feb 2021, 20:15 UTC

Pi-hole 5.0, 5.1, and 5.1.1 allows XSS via the Options header to the admin/ URI. A remote user is able to inject arbitrary web script or HTML due to incorrect sanitization of user-supplied data and achieve a Reflected Cross-Site Scripting attack against other users and steal the session cookie.

CVE-2020-35591 pi-hole vulnerability CVSS: 5.8 18 Feb 2021, 20:15 UTC

Pi-hole 5.0, 5.1, and 5.1.1 allows Session Fixation. The application does not generate a new session cookie after the user is logged in. A malicious user is able to create a new session cookie value and inject it to a victim. After the victim logs in, the injected cookie becomes valid, giving the attacker access to the user's account through the active session.

CVE-2020-35659 pi-hole vulnerability CVSS: 4.3 24 Dec 2020, 16:15 UTC

The DNS query log in Pi-hole before 5.2.2 is vulnerable to stored XSS. An attacker with the ability to directly or indirectly query DNS with a malicious hostname can cause arbitrary JavaScript to execute when the Pi-hole administrator visits the Query Log or Long-term data Query Log page.

CVE-2020-14162 pi-hole vulnerability CVSS: 7.2 30 Jul 2020, 14:15 UTC

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.

CVE-2020-12620 pi-hole vulnerability CVSS: 7.2 30 Jul 2020, 14:15 UTC

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).

CVE-2020-14971 pi-hole vulnerability CVSS: 4.6 23 Jun 2020, 14:15 UTC

Pi-hole through 5.0 allows code injection in piholedhcp (the Static DHCP Leases section) by modifying Teleporter backup files and then restoring them. This occurs in settings.php. To exploit this, an attacker would request a backup of limited files via teleporter.php. These are placed into a .tar.gz archive. The attacker then modifies the host parameter in dnsmasq.d files, and then compresses and uploads these files again.

CVE-2020-8816 pi-hole vulnerability CVSS: 6.5 29 May 2020, 19:15 UTC

Pi-hole Web v4.3.2 (aka AdminLTE) allows Remote Code Execution by privileged dashboard users via a crafted DHCP static lease.

CVE-2020-11108 pi-hole vulnerability CVSS: 9.0 11 May 2020, 15:15 UTC

The Gravity updater in Pi-hole through 4.4 allows an authenticated adversary to upload arbitrary files. This can be abused for Remote Code Execution by writing to a PHP file in the web directory. (Also, it can be used in conjunction with the sudo rule for the www-data user to escalate privileges to root.) The code error is in gravity_DownloadBlocklistFromUrl in gravity.sh.

CVE-2019-13051 pi-hole vulnerability CVSS: 6.8 09 Oct 2019, 12:15 UTC

Pi-Hole 4.3 allows Command Injection.