Vulnerability · Published Jul 3, 2025 · Assigned by VulnCheck
CVE-2025-34087Pi-Hole AdminLTE Whitelist (now 'Web Allowlist') Remote Command Execution
Critical 9.0
In plain English
A critical-severity OS command injection in Web from Pi-hole LLC. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 7.0% (higher than 94% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit.
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Pi-hole LLC | Web | 0 – through 3.3 |
Weakness: CWE-78 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/http/pihole_whitelist_exec.rb exploit
- https://pi-hole.net/ product
- https://github.com/pi-hole/web/releases/tag/v4.0 vendor-advisory, patch
- https://pulsesecurity.co.nz/advisories/pihole-v3.3-vulns third-party-advisory, exploit
- https://vulncheck.com/advisories/pihole-adminlte-whitelist-rce third-party-advisory