SSRF in Pi-Hole
CVE-2024-34361
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.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.028, 86.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Pi-Hole — versions < 5.18.3
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- T0X1Cx/CVE-2024-34361-Pi-Hole-SSRF-to-RCE (1 star, last pushed 2026-10-31): This repository contains an exploit for CVE-2024-34361, a critical Pi-hole vulnerability (CVSS 8.6). It uses SSRF to achieve RCE by exploiting improper URL validation, allowing attackers to send arbi…
- T0X1Cx/CVE-2024-34361-PiHole-SSRF-to-RCE
Also mentioned in 3 other repositories (ARPSyndicate/cve-scores, fkie-cad/nvd-json-data-feeds, nomi-sec/PoC-in-GitHub). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
This CVE has public exploit evidence. See the latest CVEs with public exploits.