RCE in Pi-Hole
CVE-2025-34087
An authenticated command injection vulnerability exists in Pi-hole versions up to 3.3. When adding a domain to the allowlist via the web interface, the domain parameter is not properly sanitized, allowing an attacker to append OS commands to the domain string. These commands are executed on the underlying operating system with the privileges of the Pi-hole service user.
This behavior was present in the legacy AdminLTE interface and has since been patched in later versions.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.070, 94.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Pi-Hole
- Pi-Hole Llc Web — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Metasploit modules
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/u… (Exploit, exploit)
- pi-hole.net/ (Product, product)
- Web 4.0 Release Notes (release-notes, vendor-advisory, patch, Release Notes)
- pulsesecurity.co.nz/advisories/pihole-v3.3-vulns (Exploit, Third Party Advisory, exploit, third-party-advisory)
- vulncheck.com/advisories/pihole-adminlte-whitelist-rce (Third Party Advisory, third-party-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.