CVE-2021-32706Pi-Hole Code Injection
Pi-hole's Web interface provides a central location to manage a Pi-hole instance and review performance statistics.
Published Aug 4, 2021 · Updated Oct 24, 2026 · Also known as GHSA-5cm9-6p3m-v259
Key Facts
Patch immediately- CVE-2021-32706 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Pi-Hole, AdminLTE.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 60% probability of exploitation in the next 30 days.
- Fixed versions are available, including Pi-Hole 5.5.1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
60%
Higher than 99.1% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
43/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
Description
Pi-hole's Web interface provides a central location to manage a Pi-hole instance and review performance statistics. Prior to Pi-hole Web interface version 5.5.1, the validDomainWildcard preg_match filter allows a malicious character through that can be used to execute code, list directories, and overwrite sensitive files. The issue lies in the fact that one of the periods is not escaped, allowing any character to be used in its place. A patch for this vulnerability was released in version 5.5.1.
Affected Products
2 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Pi-HolePi-Hole | See advisory | 5.5.1 |
| AdminLTE | < 5.5.1 | n/a |
Patched Releases
Pi-Hole
5.5.1
Timeline
Publicly disclosed
Aug 4, 2021
Last updated
Oct 24, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code
References
- advisorygithub.com · v5.5.1
- exploitgithub.com · GHSA-5cm9-6p3m-v259
FAQ
Common Questions.
Pi-hole's Web interface provides a central location to manage a Pi-hole instance and review performance statistics.
Affected: Pi-Hole; AdminLTE versions < 5.5.1. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Pi-Hole 5.5.1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2021-32706 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo