High severity · published Jul 3, 2025
CVE-2025-34087
Pi-Hole AdminLTE Whitelist (now 'Web Allowlist') Remote Command Execution
8.8
CVSS
6.9%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)6.9% · higher than 94% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WE
Web · Pi-hole LLC
through 3.3 · source: vendor
PI
Pi-hole · Pi-hole
through 3.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-34087
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-34087
Release Notes
https://github.com/pi-hole/web/releases/tag/v4.0
Product
https://pi-hole.net/
Exploit
https://pulsesecurity.co.nz/advisories/pihole-v3.3-vulns
Exploit
https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/http/pihole_whitelist_exec.rb
Third Party Advisory
https://vulncheck.com/advisories/pihole-adminlte-whitelist-rce
