CVE-2025-34087
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.
Published:Jul 3, 2025
Last Modified:Nov 19, 2025
EPS:Jul 3, 2025
EPSS Score:0.45258
CVSS Score:8.8
Affected Products
Vendor
Product
Action
Vendor
Pi-hole
Product
Pi-hole
Pi-hole
Pi-hole
Vendor
Pi-hole
Product
Web Interface
Pi-hole
Web Interface
Exploits
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
