PT-2026-28535 · Pi-Hole · Pi-Hole

Maydaysun

·

Published

2026-03-27

·

Updated

2026-03-29

·

CVE-2026-33765

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Pi-hole versions prior to 6.0
Description The Pi-hole Admin Interface, a web interface for managing the Pi-hole ad and internet tracker blocking application, contains an OS Command Injection issue in the savesettings.php file. The application directly incorporates the user-controlled $ POST['webtheme'] parameter into a system command executed using PHP’s exec() function without proper sanitization or validation. This allows an attacker to append and execute arbitrary system commands with elevated (root) privileges through the use of sudo.
Recommendations Update to version 6.0 or later.

Exploit

Fix

OS Command Injection

Weakness Enumeration

Related Identifiers

CVE-2026-33765
GHSA-828H-5X96-RQX7

Affected Products

Pi-Hole