# CVE-2020-12620: Pi-hole 4.4 allows a user able to write to /etc/pihole/dns-servers.conf to escalate privileges through command injection (shell metacharact…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.50%, higher than 75% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-07-30T13:03:37.000Z
- Modified: 2026-06-17T02:52:01.897Z
- Weaknesses: CWE-78
- Assigned by: mitre

## Description

Pi-hole 4.4 allows a user able to write to /etc/pihole/dns-servers.conf to escalate privileges through command injection (shell metacharacters after an IP address).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pi-hole pi-hole: before 5.0

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.2 High `AV:L/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://0xpanic.github.io/2020/07/21/Pihole.html> (exploit, third-party-advisory)
- <https://github.com/pi-hole/pi-hole> (third-party-advisory)
- <https://pi-hole.net/> (vendor-advisory)

## Sources

- CVE List: [CVE-2020-12620](https://www.cve.org/CVERecord?id=CVE-2020-12620), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-12620](https://nvd.nist.gov/vuln/detail/CVE-2020-12620), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-12620 · Whole record: https://cve.day/CVE-2020-12620.json · Rebuilt by cve.day 2026-11-25T22:57:53.726Z
