CVE-2025-34087

High

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.

SeverityHigh
CVSS8.8
Exploit probability94. percentile7%
ProductPi-hole
PublishedJul 3, 2025
First seenJul 3, 2025

How to fix

Affected products

ProductAffected versionsFixed in
pi-hole pi-holev ≤ 3.3—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.