## Overview
An authenticated command injection vulnerability, tracked as CVE-2025-34087, has been weaponized against Pi-hole versions up to 3.3. This flaw allows attackers to execute arbitrary OS commands through the web interface when adding a domain to the allowlist.
## Technical Details
The vulnerability arises from improper sanitization of the domain parameter in the legacy AdminLTE interface. When a user inputs a domain, an attacker can append malicious OS commands to this string. These commands are executed with the privileges of the Pi-hole service user, potentially compromising the underlying operating system.
## Impact
The CVSS score for this vulnerability is 9.0, indicating a critical risk. Successful exploitation could lead to unauthorized access and control over the affected system. This poses significant risks for users running vulnerable versions of Pi-hole, particularly in environments where security is paramount.
## Mitigation
Defenders should upgrade to the latest version of Pi-hole to patch this vulnerability. Users must ensure they are not running versions prior to 3.3. Additionally, monitoring for unusual activity in logs can help detect potential exploitation attempts.
CSURFACE Threat Sensor