{"id":"CVE-2020-12620","details":"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).","modified":"2026-08-27T08:13:58.071148Z","published":"2020-07-30T14:15:12.043Z","references":[{"type":"ADVISORY","url":"https://github.com/pi-hole/pi-hole"},{"type":"ADVISORY","url":"https://pi-hole.net/"},{"type":"EVIDENCE","url":"https://0xpanic.github.io/2020/07/21/Pihole.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pi-hole/pi-hole","events":[{"introduced":"0"},{"fixed":"4d25f695267590b61a4061f9bb43448005d99b85"}],"database_specific":{"cpe":"cpe:2.3:a:pi-hole:pi-hole:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"5.0"}],"source":"CPE_RANGE"}}],"versions":["v4.4","v4.3.5","v4.3.4","v4.3.3","v4.3.2","v4.3.1","v4.3","v4.2.2","v4.2.1","v4.2","v4.1.1","v4.1","v4.0","v3.3.1","v3.3","v3.2.1","v3.2","v3.1.4","v3.1","v3.0.1","v3.0","v2.13.2","v2.13.1","v2.13","v2.12.1","v2.12","v2.11.2","v2.11.1","v2.11","v2.10.2","v2.10.1","v2.10","v2.9.5","v2.9.4a","v2.9.4","v2.9.3","V2.9.2","V2.9.1","v2.9","v2.8.1","2.8","v2.7.1","v2.7","v2.6.3","v2.6.2","v2.6.1.2","v2.6.1.1","v2.6.1","v2.6","v2.5.3","v2.5.2","V2.5.1","v2.4","v2.3","v2.2","v2.1","2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-12620.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/pi-hole/web","events":[{"introduced":"0"},{"fixed":"b86e4a3178e46cef9fc738c6a0fb8d0ef0ff2fbc"}],"database_specific":{"cpe":"cpe:2.3:a:pi-hole:pi-hole:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"5.0"}],"source":"CPE_RANGE"}}],"versions":["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-2020-12620.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}