{"id":"CVE-2025-34087","published":"2025-07-03T19:46:49Z","modified":"2026-11-08T14:00:15Z","title":"Pi-Hole AdminLTE Whitelist (now 'Web Allowlist') Remote Command Execution","vendor":"Pi-hole LLC","product":"Web","tier":"tail","description":{"text":"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.\n\n\n\n\nThis behavior was present in the legacy AdminLTE interface and has since been patched in later versions.","provenance":"source","from":"CVE.org"},"cvss":{"score":9,"severity":"CRITICAL","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.07039,"percentile":0.94332,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/http/pihole_whitelist_exec.rb","tags":["exploit"]},{"url":"https://pi-hole.net/","tags":["product"]},{"url":"https://github.com/pi-hole/web/releases/tag/v4.0","tags":["vendor-advisory","patch","release-notes"]},{"url":"https://pulsesecurity.co.nz/advisories/pihole-v3.3-vulns","tags":["third-party-advisory","exploit"]},{"url":"https://vulncheck.com/advisories/pihole-adminlte-whitelist-rce","tags":["third-party-advisory"]}],"priority":{"score":30.2,"factors":[{"name":"EPSS percentile","points":18.87},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.3}]},"exploitSources":{"metasploit":[{"name":"Pi-Hole Whitelist OS Command Execution","module":"exploit/unix/http/pihole_whitelist_exec","type":"exploit","disclosureDate":"2018-04-15","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/http/pihole_whitelist_exec.rb"}],"first":{"date":"2018-04-15","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/http/pihole_whitelist_exec.rb"},"provenance":"source"},"vendorSlug":"pi-hole","affectedVersions":[{"vendor":"Pi-hole LLC","product":"Web","versions":["<= 3.3"]}],"capec":[{"id":"CAPEC-88","name":"OS Command Injection"},{"id":"CAPEC-137","name":"Parameter Injection"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-07-07T19:08:39.309854Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The Pi-hole web interface, specifically the legacy AdminLTE allowlist (\"Whitelist\") feature in versions up to 3.3, fails to properly sanitize the domain parameter when a domain is added to the allowlist, which is an OS command injection flaw. An attacker with valid credentials and network access to the web interface can append operating system commands to the domain string, which then execute with the privileges of the Pi-hole service user, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:18:44Z"},"euvd":{"id":"EUVD-2025-19902","exploited":false,"provenance":"source"},"exploitRefs":["https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/http/pihole_whitelist_exec.rb","https://pulsesecurity.co.nz/advisories/pihole-v3.3-vulns"]}