CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025 · Pi-hole

CVE-2025-34087
Pi-hole vulnerability

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 products

Pi-hole. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Pi-hole runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Pi-hole products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.