OS Command Injection Vulnerability in Pi-hole Admin Interface by Pi-hole
CVE-2026-33765
8.9HIGH
What is CVE-2026-33765?
The Pi-hole Admin Interface, utilized for managing the Pi-hole ad and internet tracker blocking application, presents an OS Command Injection vulnerability that affects versions prior to 6.0. This security flaw stems from how the application processes the unvalidated and unsanitized user input from the $_POST['webtheme'] parameter in the savesettings.php file. By directly concatenating this input into system commands executed via PHP's exec() function, an attacker can inject arbitrary system commands. These injected commands are executed with elevated privileges, increasing the risk and potential impact of unauthorized access and control over the affected system. Version 6.0 has addressed and patched this vulnerability.
Affected Version(s)
web < 6.0
