CVE-2024-28247
CVE-2024-28247 is a high-severity vulnerability in Pi-hole with a CVSS 3.x base score of 7.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-200.
Key facts
- Severity: High (CVSS 3.x base score 7.6)
- EPSS exploit prediction: 1% (70th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-25351
- Weakness: CWE-200
- Affected product: Pi-hole
- Published:
- Last modified:
Description
The Pi-hole is a DNS sinkhole that protects your devices from unwanted content without installing any client-side software. A vulnerability has been discovered in Pihole that allows an authenticated user on the platform to read internal server files arbitrarily, and because the application runs from behind, reading files is done as a privileged user.If the URL that is in the list of "Adslists" begins with "file*" it is understood that it is updating from a local file, on the other hand if it does not begin with "file*" depending on the state of the response it does one thing or another. The problem resides in the update through local files. When updating from a file which contains non-domain lines, 5 of the non-domain lines are printed on the screen, so if you provide it with any file on the server which contains non-domain lines it will print them on the screen. This vulnerability is fixed by 5.18.
Frequently asked questions
- What is CVE-2024-28247?
- The Pi-hole is a DNS sinkhole that protects your devices from unwanted content without installing any client-side software. A vulnerability has been discovered in Pihole that allows an authenticated user on the platform to read internal server files arbitrarily, and because the application runs from behind, reading files is done as a privileged user.If the URL that is in the list of "Adslists" begins with "file*" it is understood that it is updating from a local file, on the other hand if it does not begin with "file*" depending on the state of the response it does one thing or another. The problem resides in the update through local files. When updating from a file which contains non-domain lines, 5 of the non-domain lines are printed on the screen, so if you provide it with any file on the server which contains non-domain lines it will print them on the screen. This vulnerability is fixed by 5.18.
- How severe is CVE-2024-28247?
- CVE-2024-28247 has a CVSS 3.x base score of 7.6, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity low, and availability low.
- Is CVE-2024-28247 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (70th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-28247?
- CVE-2024-28247 affects Pi-hole. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-28247?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-28247 have an EU (EUVD) identifier?
- Yes. CVE-2024-28247 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-25351.
- When was CVE-2024-28247 published?
- CVE-2024-28247 was published on 2024-03-27 and last updated on 2026-06-17.
References
- https://github.com/pi-hole/pi-hole/commit/f3af03174e676c20e502a92ed7842159f2fdeb7e
- https://github.com/pi-hole/pi-hole/security/advisories/GHSA-95g6-7q26-mp9x
Affected products (1)
- cpe:2.3:a:pi-hole:pi-hole:*:*:*:*:*:*:*:*
More vulnerabilities in Pi-hole
- CVE-2025-34087 — High (CVSS 8.8): An authenticated command injection vulnerability exists in Pi-hole versions up to 3.3. When adding a domain to the…
- CVE-2020-11108 — High (CVSS 8.8): The Gravity updater in Pi-hole through 4.4 allows an authenticated adversary to upload arbitrary files. This can be…
- CVE-2019-13051 — High (CVSS 8.8): Pi-Hole 4.3 allows Command Injection.
- CVE-2024-34361 — High (CVSS 8.5): Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing any client-side software. A…
- CVE-2020-14162 — High (CVSS 7.8): An issue was discovered in Pi-Hole through 5.0. The local www-data user has sudo privileges to execute the pihole core…
- CVE-2020-12620 — High (CVSS 7.8): Pi-hole 4.4 allows a user able to write to /etc/pihole/dns-servers.conf to escalate privileges through command…
Other CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) vulnerabilities
- CVE-2026-27604 — Critical (CVSS 10.0): FOSSBilling is a free, open-source billing and client management system. Starting in version 0.5.4 and prior to version…
- CVE-2026-40965 — Critical (CVSS 10.0): Cloud Foundry UAA versions v76.12.0 through v78.12.0 are vulnerable to a private key exposure. The server contains a…
- CVE-2026-42826 — Critical (CVSS 10.0): Exposure of sensitive information to an unauthorized actor in Azure DevOps allows an unauthorized attacker to disclose…
- CVE-2025-29270 — Critical (CVSS 10.0): Incorrect access control in the realtime.cgi endpoint of Deep Sea Electronics devices DSE855 v1.1.0 to v1.1.26 allows…
- CVE-2025-61481 — Critical (CVSS 10.0): An issue in MikroTik RouterOS v.7.14.2 and SwOS v.2.18 exposes the WebFig management interface over cleartext HTTP by…
- CVE-2025-53624 — Critical (CVSS 10.0): The Docusaurus gists plugin adds a page to your Docusaurus instance, displaying all public gists of a GitHub user.…
Browse all CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) vulnerabilities →