CVE-2025-34087 Pi-Hole AdminLTE Whitelist (now 'Web Allowlist') Remote Command Execution
CriticalCVSS 9.0
EPSS 7.0%
Framework module
- Published
- Updated
- Exploit status
- Public exploit available
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pi-hole | <= 3.3 | after 3.3 | Fixed |
| pi-hole web | <= 3.3 | after 3.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pi-hole web | <= 3.3 | No fix listed |
| pi-hole | <= 3.3 | No fix listed |
References
- raw.githubusercontent.com exploit
- pi-hole.net product
- Web 4.0 Release Notes patch release-notes vendor-advisory
- pulsesecurity.co.nz exploit third-party-advisory
- vulncheck.com third-party-advisory
- ENISA EUVD EUVD-2025-19902 third-party-advisory