CVE-2025-34087 json
Pi-Hole AdminLTE Whitelist (now 'Web Allowlist') Remote Command Execution
published 2025-07-03 16 mo ago modified 2026-11-08 20 h ago also EUVD-2025-19902
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 7.0%
- EPSS 7.0% chance of exploitation in 30 days, percentile 94%
- public exploits
- 1
- Metasploit
Summary
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.
Patch / fix
Timeline
- First public exploit (Metasploit exploit/unix/http/pihole_whitelist_exec)
- Published
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 16 mo ago
Exploit prediction
7.04% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/unix/http/pihole_whitelist_exec Pi-Hole Whitelist OS Command Execution metasploit exploit, excellent rank, 2018-04-15
- raw.githubusercontent.com https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/http/pihole_whitelist_exec.rb referenced PoC, tagged "exploit" by a source, unverified
- pulsesecurity.co.nz https://pulsesecurity.co.nz/advisories/pihole-v3.3-vulns referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.0 | 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 |
| CNA | 4.0 | 9.0 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Pi-hole LLC Web
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/pi-hole/web/releases/tag/v4.0
vendor-advisory, patch, release-notes
-
raw.githubusercontent.com
/rapid7/metasploit-framework/master/modules/exploits/unix/http/pihole_whitelist_exec.rb
exploit
-
pulsesecurity.co.nz
/advisories/pihole-v3.3-vulns
third-party-advisory, exploit
-
pi-hole.net
/
product
-
vulncheck.com
/advisories/pihole-adminlte-whitelist-rce
third-party-advisory
Sources
- CVE List CVE-2025-34087
- NVD CVE-2025-34087
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.