CVE-2025-34087: Pi-Hole AdminLTE Whitelist (now 'Web Allowlist') Remote Command Execution

Published Jul 3, 2025
·
Updated

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 Software

2 affected components
Pi-hole Pi-hole<3.3
Pi-hole Pi-hole<=3.3

Event History

Jul 3, 2025
CVE Published
via MITRE·07:46 PM
Data Sourced
via MITRE·07:46 PM
DescriptionWeakness
Data Sourced
via OSV·07:46 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-34087?

CVE-2025-34087 is classified as a high-severity vulnerability due to its potential for remote command execution.

2

How do I fix CVE-2025-34087?

To fix CVE-2025-34087, upgrade Pi-hole to version 4.0 or later, which addresses the command injection vulnerability.

3

What versions of Pi-hole are affected by CVE-2025-34087?

CVE-2025-34087 affects all Pi-hole versions up to and including 3.3.

4

What type of attacks can exploit CVE-2025-34087?

CVE-2025-34087 can be exploited through authenticated command injection, allowing attackers to execute arbitrary OS commands via the web interface.

5

Is authentication required to exploit CVE-2025-34087?

Yes, exploitation of CVE-2025-34087 requires authenticated access to the Pi-hole web interface.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203