An authenticated command injection vulnerability exists...
Critical severity
Unreviewed
Published
Jul 3, 2025
to the GitHub Advisory Database
•
Updated Oct 1, 2025
Description
Published by the National Vulnerability Database
Jul 3, 2025
Published to the GitHub Advisory Database
Jul 3, 2025
Last updated
Oct 1, 2025
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.
References