Vulnerability

CVE-2026-33765

highCVSS 4.0 8.9Published 27 Mar 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Pi Hole web interface

Weakness type

References

  • github.com /pi-hole/web/security/advisories/GHSA-828h-5x96-rqx7

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning