{"id":"CVE-2020-14162","aliases":["EUVD-2020-6319","GHSA-x839-xh4j-fgrf"],"status":"published","title":"An issue was discovered in Pi-Hole through 5.0. The local www-data user has sudo privileges to...","description":"An issue was discovered in Pi-Hole through 5.0. The local www-data user has sudo privileges to execute the pihole core script as root without a password, which could allow an attacker to obtain root access via shell metacharacters to this script's setdns command.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00587,"percentile":0.48419,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-269","CWE-78"],"published":"2020-07-30T13:05:32Z","modified":"2026-10-24T10:30:35Z","products":[{"vendor":"pi-hole","product":"pi-hole"}],"references":[{"url":"https://docs.pi-hole.net/core/pihole-command/","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory"]},{"url":"https://0xpanic.github.io/2020/07/21/Pihole.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14162"},{"url":"https://github.com/advisories/GHSA-x839-xh4j-fgrf"}],"sources":{"cve":[{"id":"CVE-2020-14162","description":"An issue was discovered in Pi-Hole through 5.0. The local www-data user has sudo privileges to execute the pihole core script as root without a password, which could allow an attacker to obtain root access via shell metacharacters to this script's setdns command.","status":"published","published":"2020-07-30T13:05:32Z","modified":"2024-08-04T12:39:35.896Z","updated_at":"2026-11-02T14:35:46.476719Z"}],"euvd":[{"id":"EUVD-2020-6319","description":"An issue was discovered in Pi-Hole through 5.0. The local www-data user has sudo privileges to execute the pihole core script as root without a password, which could allow an attacker to obtain root access via shell metacharacters to this script's setdns command.","status":"published","published":"2020-07-30T13:05:32Z","modified":"2024-08-04T12:39:35Z","updated_at":"2026-11-03T03:07:35.099081Z"}],"ghsa":[{"id":"GHSA-x839-xh4j-fgrf","title":"An issue was discovered in Pi-Hole through 5.0. The local www-data user has sudo privileges to...","description":"An issue was discovered in Pi-Hole through 5.0. The local www-data user has sudo privileges to execute the pihole core script as root without a password, which could allow an attacker to obtain root access via shell metacharacters to this script's setdns command.","status":"published","published":"2022-05-24T17:24:43Z","modified":"2023-01-29T05:03:37Z","cwes":["CWE-269"],"updated_at":"2026-11-02T14:45:21.37961Z"}],"nvd":[{"id":"CVE-2020-14162","description":"An issue was discovered in Pi-Hole through 5.0. The local www-data user has sudo privileges to execute the pihole core script as root without a password, which could allow an attacker to obtain root access via shell metacharacters to this script's setdns command.","status":"published","published":"2020-07-30T14:15:12.153Z","modified":"2026-06-17T02:54:19.227Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-78","CWE-269"],"updated_at":"2026-11-02T14:06:10.994748Z"}],"osv":[{"id":"CVE-2020-14162","description":"An issue was discovered in Pi-Hole through 5.0. The local www-data user has sudo privileges to execute the pihole core script as root without a password, which could allow an attacker to obtain root access via shell metacharacters to this script's setdns command.","status":"published","published":"2020-07-30T14:15:12.153Z","modified":"2026-10-24T10:30:35.995917852Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:14.418339Z"}]}}
