Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-32706
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:37 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-32706
Complete source record
{
"id": "77afd88e3e3abd11be28738c415ea40c8475f5d15687e212e4c579c181face69",
"url": "https://osv.dev/vulnerability/CVE-2021-32706",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-32706",
"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.",
"evidence": "osv:CVE-2021-32706",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-32706",
"aliases": [
"CVE-2021-32706",
"GHSA-5cm9-6p3m-v259"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/pi-hole/web",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "fb9bd561fdf936891370d85b32e899dff1dbf9d4"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:pi-hole:pi-hole:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "5.5.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "fb9bd561fdf936891370d85b32e899dff1dbf9d4"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v5.5.1"
}
]
}
}
],
"versions": [
"v5.5",
"v5.4",
"v5.3.2",
"v5.3.1",
"v5.3",
"v5.2.2",
"v5.2.1",
"v5.2",
"v5.1.1",
"v5.1",
"v5.0",
"v4.3.3",
"v4.3.2",
"v4.3",
"v4.2",
"v4.1.1",
"v4.1",
"v4.0",
"v3.3",
"v3.2.1",
"v3.2",
"v3.1",
"v3.0.1a",
"v3.0.1",
"v3.0",
"v2.5.2",
"v2.5.1",
"v2.5",
"v2.4",
"v2.3.1",
"v2.3",
"v2.2",
"v2.1",
"v2.0",
"v1.4.4.2",
"v1.4.4.1",
"v1.4.4",
"v1.4.3.1a",
"v1.4.3.1",
"v1.4.3",
"v1.4.2",
"v1.4.1",
"v1.4",
"v1.3",
"v1.2",
"v1.1.7",
"v1.1.6",
"v1.1.5",
"v1.1.4",
"v1.1.3",
"v1.1.2",
"v1.1.1",
"v1.1.0",
"v1.0.0",
"v2.2.0",
"v2.1.2",
"2.1.1",
"2.1.0",
"v2.1.0-beta",
"v2.1.0-alpha-1",
"v2.0.5",
"v2.0.3",
"v2.0.2",
"v2.0.1",
"v2.0.0",
"2.0.0",
"1.2.1",
"1.2",
"1.1",
"1.0",
"0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32706.json"
}
}
],
"modified": "2026-10-24T10:47:44.762482430Z",
"provider": "osv",
"references": [
"https://github.com/pi-hole/AdminLTE/releases/tag/v5.5.1",
"https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-5cm9-6p3m-v259"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:pi-hole:pi-hole:*:*:*:*:*:*:*:*"
],
"vendor_product": "pi-hole:pi-hole",
"extracted_events": [
{
"range": [
{
"fixed": "5.5.1"
}
],
"source": "CPE_RANGE"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-32706",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 441506,
"published_at": "2021-08-04T18:15:09.447+00:00"
}