# CVE-2024-28247: Pihole Authenticated Arbitrary File Read with root privileges

- Severity: High 7.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.41%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-03-27T18:24:20.945Z
- Modified: 2026-06-17T07:21:15.537Z
- Weaknesses: CWE-200, CWE-269
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- pi-hole pi-hole: > 5.18; before 5.18

## Every score

- GitHub_M: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/pi-hole/pi-hole/security/advisories/GHSA-95g6-7q26-mp9x> (exploit, vendor-advisory)
- <https://github.com/pi-hole/pi-hole/commit/f3af03174e676c20e502a92ed7842159f2fdeb7e> (patch)

## Sources

- CVE List: [CVE-2024-28247](https://www.cve.org/CVERecord?id=CVE-2024-28247), CVE Terms of Use, modified 2024-08-13
- NVD: [CVE-2024-28247](https://nvd.nist.gov/vuln/detail/CVE-2024-28247), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-28247 · Whole record: https://cve.day/CVE-2024-28247.json · Rebuilt by cve.day 2026-11-25T22:58:38.022Z
