CVE-2026-33765

published 27 Mar 2026 · updated 2 Apr 2026

Pi-hole Web Interface has a Command Injection Vulnerability

8.9HighCVSS 8.9EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Pi-holeweb<6.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Pi-hole, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-33765 severity on Zeptric[![CVE-2026-33765](https://zeptric.io/badge/cve/CVE-2026-33765.svg)](https://zeptric.io/cve/CVE-2026-33765)