---
id: CVE-2025-34087
title: Pi-Hole AdminLTE Whitelist (now 'Web Allowlist') Remote Command Execution
summary: >-
  An authenticated command injection vulnerability exists in Pi-hole versions up
  to 3.3. When adding a domain to the allowlist via the web interface, the
  domain parameter is not properly sanitized, allowing an attacker to append OS
  command…
severity: critical
cvss: 9
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'
cvssSource: cna
cwe:
  - CWE-78
vendor: Pi-hole LLC
product: Web
affected:
  - Web <= 3.3
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2025-07-07T19:08:39.309854Z'
exploitAvailable: true
published: '2025-07-03'
updated: '2026-11-08'
sourceUpdated: '2026-11-08T14:00:15.149Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-34087'
references:
  - url: >-
      https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/http/pihole_whitelist_exec.rb
  - url: 'https://pi-hole.net/'
  - url: 'https://github.com/pi-hole/web/releases/tag/v4.0'
    label: Web 4.0 Release Notes
  - url: 'https://pulsesecurity.co.nz/advisories/pihole-v3.3-vulns'
  - url: 'https://vulncheck.com/advisories/pihole-adminlte-whitelist-rce'
tags:
  - cve.org
  - exploit-available
epss: 0.07039
epssPercentile: 0.9423
exploits:
  metasploit:
    - exploit/unix/http/pihole_whitelist_exec
  checkedAt: '2026-11-08T14:51:57.353Z'
ingestedAt: '2026-11-08T14:51:22.486Z'
---

## Overview

An authenticated command injection vulnerability exists in Pi-hole versions up to 3.3. When adding a domain to the allowlist via the web interface, the domain parameter is not properly sanitized, allowing an attacker to append OS commands to the domain string. These commands are executed on the underlying operating system with the privileges of the Pi-hole service user.




This behavior was present in the legacy AdminLTE interface and has since been patched in later versions.

## Affected

- `Web <= 3.3`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
