Critical severity · published Mar 27, 2026
CVE-2026-33765
Pi-hole Web Interface has a Command Injection Vulnerability
9.8
CVSS
1.3%
EPSS
No
On KEV
Description
Pi-hole Admin Interface is a web interface for managing Pi-hole, a network-level ad and internet tracker blocking application. Versions prior to 6.0 have a critical OS Command Injection vulnerability in the savesettings.php file. The application takes the user-controlled $_POST['webtheme'] parameter and concatenates it directly into a system command executed via PHP's exec() function. Since the input is neither sanitized nor validated before being passed to the shell, an attacker can append arbitrary system commands to the intended pihole command. Furthermore, because the command is executed with sudo privileges, the injected commands will run with elevated (likely root) privileges. Version 6.0 patches the issue.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.3% · higher than 70% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WE
web · pi-hole
< 6.0 · source: vendor
WI
Web Interface · Pi-hole
before 6.0 · source: NVD
Affected product
WE
web
pi-hole
More from web
8.2
CVE-2025-59151
Pi-hole Admin Interface vulnerable to HTTP response header injection via CRLF injection
6.1
CVE-2026-33406
Pi-hole has a Stored HTML attribute injection
6.1
CVE-2026-33404
Pi-hole has a Stored XSS / HTML injection in the Network page/Dashboard
6.1
CVE-2026-33403
Pi-hole has a Reflected XSS / HTML injection in taillog.js
6.1
CVE-2025-53533
Pi-hole Admin Interface vulnerable to cross-site scripting via malformed URL path on 404 error page