# CVE-2025-34087: Pi-Hole AdminLTE Whitelist (now 'Web Allowlist') Remote Command Execution

Status: published. Published: 2025-07-03. Updated: 2026-11-08.

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.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: VulnCheck) — https://github.com/pi-hole/web/releases/tag/v4.0

## Affected products and versions

- Pi-hole LLC / Web: ≥ 0; ≤ 3.3 (affected, custom). Source: CNA: VulnCheck

## Severity and prioritization

- CVSS 4.0: 9 (critical); 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; source: CNA: VulnCheck

- CISA KEV: No listing in collected sources

- EPSS: 7.04% as of 2026-11-08; percentile 94.23%

- SSVC: exploitation none; automatable yes; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-78

## Exploit evidence

- exploit: https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/http/pihole_whitelist_exec.rb (CNA: VulnCheck)
- exploit: https://pulsesecurity.co.nz/advisories/pihole-v3.3-vulns (CNA: VulnCheck)

## References

- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/http/pihole_whitelist_exec.rb (CNA: VulnCheck; exploit)

- https://pi-hole.net/ (CNA: VulnCheck; product)

- https://github.com/pi-hole/web/releases/tag/v4.0 (CNA: VulnCheck; vendor-advisory, patch, release-notes)

- https://pulsesecurity.co.nz/advisories/pihole-v3.3-vulns (CNA: VulnCheck; third-party-advisory, exploit)

- https://vulncheck.com/advisories/pihole-adminlte-whitelist-rce (CNA: VulnCheck; third-party-advisory)

## Provenance

- CNA: VulnCheck: https://www.cve.org/CVERecord?id=CVE-2025-34087; retrieved 2026-11-08; source updated 2026-11-08

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2025-34087; retrieved 2026-11-08; source updated Not reported

Revision: fe8f0eac6f4d20802cf0c6e6ab2c2e43c3cb57ad9fe69c2ea321642de6abca3f

Canonical: https://y2.dev/cve/CVE-2025-34087

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.