← Vulnerability feed

Vulnerability record · CVE-2026-33765 · published 27 March 2026

CVE-2026-33765: Pi-hole web interface os command injection vulnerability

Pi Hole · Web Interface

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.

8.9 CVSS 4.0 High EPSS 1.8% · top 22.8% CWE-78 · OS command injection
8.9CVSS 4.0 base score
1.8%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
1References
17 Jun 2026Last modified by NVD

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:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-33765 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2023-23614Pi-hole web interface insufficient session expiration vulnerabilityPi-hole®'s Web interface (based off of AdminLTE) provides a central location to manage your Pi-hole. Versions 4.0 and above, prior to 5.18.3 are vuln…EPSS 0.97%8.8CVE-2021-29448Pi-hole ftldns cross-site scripting vulnerabilityPi-hole is a Linux network-level advertisement and Internet tracker blocking application. The Stored XSS exists in the Pi-hole Admin portal, which ca…EPSS 0.67%8.2CVE-2025-59151Pi-hole web interface vulnerabilityPi-hole Admin Interface is a web interface for managing Pi-hole, a network-level advertisement and internet tracker blocking application. Pi-hole Adm…EPSS 0.41%7.5CVE-2021-3706Pi-hole web interface incorrect permission assignment vulnerabilityadminlte is vulnerable to Sensitive Cookie Without 'HttpOnly' FlagEPSS 1.1%6.1CVE-2026-33403Pi-hole web interface cross-site scripting vulnerabilityPi-hole Admin Interface is a web interface for managing Pi-hole, a network-level ad and internet tracker blocking application. From 6.0 to before 6.5…EPSS 0.32%6.1CVE-2026-33404Pi-hole web interface cross-site scripting vulnerabilityPi-hole Admin Interface is a web interface for managing Pi-hole, a network-level ad and internet tracker blocking application. From 6.0 to before 6.5…EPSS 0.25%6.1CVE-2026-33406Pi-hole web interface cross-site scripting vulnerabilityPi-hole Admin Interface is a web interface for managing Pi-hole, a network-level ad and internet tracker blocking application. From 6.0 to before 6.5…EPSS 0.37%6.1CVE-2021-3811Pi-hole web interface cross-site scripting vulnerabilityadminlte is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')EPSS 0.55%

Source: NIST National Vulnerability Database (record CVE-2026-33765), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.