Skip to content

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.

PackageAffectedFixed inStatus
pi-hole <= 3.3 after 3.3 Fixed
pi-hole web <= 3.3 after 3.3 Fixed

Affected products

ProductAffected versionsFixed in
pi-hole web <= 3.3 No fix listed
pi-hole <= 3.3 No fix listed

References