{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2020-8816 in the wild since at least 10 Dec 2021.","fix":"No fix has been published for CVE-2020-8816 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 10 Jun 2022.","what":"CVE-2020-8816 is a critical command injection vulnerability in n/a, published on 29 May 2020. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-8816 and fix it if it is affected.\n\nWhat it is: CVE-2020-8816 is a critical command injection vulnerability in n/a, published on 29 May 2020. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2020-8816 in the wild since at least 10 Dec 2021.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-8816/ (Markdown: https://insights.sbomify.com/CVE-2020-8816/index.md)","id":"CVE-2020-8816","markdown":"https://insights.sbomify.com/CVE-2020-8816/index.md","name":"CVE-2020-8816","record":{"aliases":["GHSA-v4fw-xc8h-7p52"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Pi-hole Web Admin","requires_auth":"high_privilege","summary":"Privileged dashboard users can execute arbitrary code via crafted DHCP static leases in Pi-hole Web Admin.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"pi-hole","vendor":"pi-hole"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.0/AC:L/AV:N/A:H/C:H/I:H/PR:H/S:C/UI:N","version":"3.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"Pi-hole Web v4.3.2 (aka AdminLTE) allows Remote Code Execution by privileged dashboard users via a crafted DHCP static lease.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2020-03-28","github_poc":4,"max_poc_stars":11,"metasploit":1,"nuclei":0,"refs":[{"date":"2020-08-04T10:23:28Z","kind":"github_poc","ref":"https://github.com/cybervaca/CVE-2020-8816","stars":11,"title":"Pi-hole Remote Code Execution authenticated Version \u003e= 4.3.2"},{"date":"2020-05-10T01:12:28Z","kind":"github_poc","ref":"https://github.com/AndreyRainchik/CVE-2020-8816","stars":10,"title":"A Python script to exploit CVE-2020-8816, a remote code execution vulnerability on the Pi-hole"},{"date":"2020-08-06T14:04:54Z","kind":"github_poc","ref":"https://github.com/team0se7en/CVE-2020-8816","stars":6,"title":"Pi-hole ( \u003c= 4.3.2)  authenticated remote code execution."},{"date":"2020-06-15T18:24:19Z","kind":"github_poc","ref":"https://github.com/martinsohn/CVE-2020-8816","stars":1,"title":"A PoC for CVE-2020-8816 that does not use $PATH but $PWD and globbing"},{"date":"2020-03-28","kind":"metasploit","ref":"exploit/unix/http/pihole_dhcp_mac_exec","stars":null,"title":"Pi-Hole DHCP MAC OS Command Execution"},{"date":"2020-08-04","kind":"exploitdb","ref":"48727","stars":null,"title":"Pi-hole 4.3.2 - Remote Code Execution (Authenticated)"}],"tier":"exploited"},"has_fix":false,"headline":"Pi-Hole AdminLTE Remote Code Execution","id":"CVE-2020-8816","indexable":true,"kev":{"dateAdded":"2021-12-10","dueDate":"2022-06-10","knownRansomwareCampaignUse":"Unknown","product":"AdminLTE","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Pi-hole","vulnerabilityName":"Pi-Hole AdminLTE Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2020"},"n_packages":0,"n_references":7,"next":{"headline":"Missing authorization in n/a","id":"CVE-2020-8817"},"packages":[],"prev":{"headline":"Denial of service in n/a","id":"CVE-2020-8815"},"products":["n/a"],"published":"2020-05-29","related":[{"cvss_score":9,"headline":"Pi-Hole AdminLTE Whitelist (now 'Web Allowlist') Remote Command Execution","id":"CVE-2025-34087","kev_date_added":null,"published":"2025-07-03"},{"cvss_score":8.8,"headline":"Pi-hole: Local privilege escalation from `pihole` user to root via `/etc/pihole/logrotate`","id":"CVE-2026-50130","kev_date_added":null,"published":"2026-07-14"},{"cvss_score":8.8,"headline":"File upload in n/a","id":"CVE-2020-11108","kev_date_added":null,"published":"2020-05-11"},{"cvss_score":8.8,"headline":"Pi-Hole 4.3 allows Command Injection.","id":"CVE-2019-13051","kev_date_added":null,"published":"2019-10-09"},{"cvss_score":8.6,"headline":"Pi-hole Blind Server-Side Request Forgery (SSRF) vulnerability can lead to Remote Code Execution (RCE)","id":"CVE-2024-34361","kev_date_added":null,"published":"2024-07-05"},{"cvss_score":7.8,"headline":"Command injection in n/a","id":"CVE-2020-12620","kev_date_added":null,"published":"2020-07-30"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Privileged dashboard users can execute arbitrary code via crafted DHCP static leases in Pi-hole Web Admin.","url":"https://insights.sbomify.com/CVE-2020-8816/"}