Skip to main content
← All vulnerabilities
CVE-2025-34087

Pi-Hole AdminLTE Whitelist (now 'Web Allowlist') Remote Command Execution

Published
Last modified
published
Not listed in CISA KEV
Fix
Fix or patch referenced
1 Metasploit module
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

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 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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • Pi-hole LLC Web

    through 3.3

References 6

raw.githubusercontent.com

pi-hole.net

GitHub · pi-hole/web

pulsesecurity.co.nz

vulncheck.com

GitHub · rapid7/metasploit-framework