9.0Critical

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

Pi-hole LLC Web Published: (1 year ago)

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.

Weakness (CWE): CWE-78

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
pi-hole pi-hole ≤ 3.3
Pi-hole LLC Web ≤ 3.3
pi-hole web interface ≤ 3.3

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:pi-hole:pi-hole:*:*:*:*:*:*:*:* ≤ 3.3