CVE-2021-32706 in the critical feed json
(Authenticated) Remote Code Execution Possible in Web Interface 5.5
published 2021-08-04 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-19502
- cvss
- 7.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 60.2%
- EPSS 60.2% chance of exploitation in 30 days, percentile 99.1%
- public exploits
- 1
- Metasploit
Summary
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.
Patch / fix
Timeline
- First public exploit (Metasploit auxiliary/admin/http/pihole_domains_api_exec)
- Published
Exploit prediction
60.18% chance of exploitation in the next 30 days, higher than 99.1% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit auxiliary/admin/http/pihole_domains_api_exec Pi-Hole Top Domains API Authenticated Exec metasploit auxiliary, normal rank, 2021-08-04
- github.com https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-5cm9-6p3m-v259 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected products
- pi-hole AdminLTE
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/pi-hole/AdminLTE/security/advisories/GHSA-5cm9-6p3m-v259
exploit, third-party-advisory
-
github.com
/pi-hole/AdminLTE/releases/tag/v5.5.1
release-notes, third-party-advisory
Sources
- CVE List CVE-2021-32706
- NVD CVE-2021-32706
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.