# CVE-2024-34361: Pi-hole Blind Server-Side Request Forgery (SSRF) vulnerability can lead to Remote Code Execution (RCE)

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H`
- 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): 2.83%, higher than 86% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-07-05T18:30:01.314Z
- Modified: 2026-06-17T07:33:14.963Z
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing any client-side software. A vulnerability in versions prior to 5.18.3 allows an authenticated user to make internal requests to the server via the `gravity_DownloadBlocklistFromUrl()` function. Depending on some circumstances, the vulnerability could lead to remote command execution. Version 5.18.3 contains a patch for this issue.

(As written by CVE List.)

## Affected

- pi-hole pi-hole: < 5.18.3; before 5.18.3

## Every score

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

## References

- <https://github.com/pi-hole/pi-hole/security/advisories/GHSA-jg6g-rrj6-xfg6> (exploit, vendor-advisory)
- <https://github.com/pi-hole/pi-hole/commit/2c497a9a3ea099079bbcd1eb21725b0ed54b529d> (patch)

## Sources

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

---

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