Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Pi-Hole | Pi-Hole | <= 3.3 |
Related Weaknesses (CWE)
References
- https://github.com/pi-hole/web/releases/tag/v4.0Release Notes
- https://pi-hole.net/Product
- https://pulsesecurity.co.nz/advisories/pihole-v3.3-vulnsExploitThird Party Advisory
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/expExploit
- https://vulncheck.com/advisories/pihole-adminlte-whitelist-rceThird Party Advisory
FAQ
What is CVE-2025-34087?
CVE-2025-34087 is a vulnerability with a CVSS score of 8.8 (HIGH). 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, allo...
How severe is CVE-2025-34087?
CVE-2025-34087 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-34087?
Check the references section above for vendor advisories and patch information. Affected products include: Pi-Hole Pi-Hole.