{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-35517 exists.","fix":"No fix has been published for CVE-2026-35517 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-35517 is a high-severity command injection vulnerability in pi-hole FTL, published on 7 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-35517 and fix it if it is affected.\n\nWhat it is: CVE-2026-35517 is a high-severity command injection vulnerability in pi-hole FTL, published on 7 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-35517 exists.\n\nAffected product: pi-hole FTL. 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-2026-35517/ (Markdown: https://insights.sbomify.com/CVE-2026-35517/index.md)","id":"CVE-2026-35517","markdown":"https://insights.sbomify.com/CVE-2026-35517/index.md","name":"CVE-2026-35517","record":{"aliases":["GHSA-23w8-7333-p9fj"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Pi-hole FTL engine","requires_auth":"low_privilege","summary":"An authenticated attacker can inject newlines into DNS upstream settings to execute arbitrary commands on the Pi-hole server.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"ftldns","vendor":"pi-hole"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"},{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"FTLDNS (pihole-FTL) provides an interactive API and also generates statistics for Pi-hole's Web interface. From 6.0 to before 6.6, the Pi-hole FTL engine contains a Remote Code Execution (RCE) vulnerability in the upstream DNS servers configuration parameter (dns.upstreams). This vulnerability allows an authenticated attacker to inject arbitrary dnsmasq configuration directives through newline characters, ultimately achieving command execution on the underlying system. This vulnerability is fixed in 6.6.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-04-14","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-04-14T06:26:12Z","kind":"github_poc","ref":"https://github.com/keraattin/CVE-2026-35517","stars":0,"title":"CVE-2026-35517 Pi-hole FTLDNS Remote Code Execution via Newline Injection (CVSS 8.8). Python \u0026 Nmap NSE detection scripts with full technical breakdown. A newline character in the dns.upstreams parameter gives authenticated attackers command execution on the host. Five related injection vectors all patched in FTL v6.6."}],"tier":"weaponised"},"has_fix":false,"headline":"Pi-hole FTL affected by Remote Code Execution (RCE) via dns.upstreams Newline Injection","id":"CVE-2026-35517","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Pi-hole FTL affected by Remote Code Execution (RCE) via dns.cnameRecords Newline Injection","id":"CVE-2026-35518"},"packages":[],"prev":{"headline":"LinkAce has SSRF via CheckLinksCommand - Link URL Update Bypasses laravel-html-meta Protection","id":"CVE-2026-35516"},"products":["FTL"],"published":"2026-04-07","related":[{"cvss_score":8.8,"headline":"Pi-hole FTL affected by Remote Code Execution (RCE) via dns.cnameRecords Newline Injection","id":"CVE-2026-35518","kev_date_added":null,"published":"2026-04-07"},{"cvss_score":8.8,"headline":"Pi-hole FTL affected by Remote Code Execution (RCE) via dns.hostRecord Newline Injection","id":"CVE-2026-35519","kev_date_added":null,"published":"2026-04-07"},{"cvss_score":8.8,"headline":"Pi-hole FTL affected by Remote Code Execution (RCE) via dhcp.leaseTime Newline Injection","id":"CVE-2026-35520","kev_date_added":null,"published":"2026-04-07"},{"cvss_score":8.8,"headline":"Pi-hole FTL affected by Remote Code Execution (RCE) via dhcp.hosts Newline Injection","id":"CVE-2026-35521","kev_date_added":null,"published":"2026-04-07"},{"cvss_score":8.7,"headline":"Pi-hole FTL remote code execution via newline injection in dns.interface configuration","id":"CVE-2026-39849","kev_date_added":null,"published":"2026-05-05"},{"cvss_score":7.6,"headline":"Stored DOM XSS in Pi-hole Admin Web Interface","id":"CVE-2021-29448","kev_date_added":null,"published":"2021-04-15"}],"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":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-07","vendors":["pi-hole"]},"summary":"An authenticated attacker can inject newlines into DNS upstream settings to execute arbitrary commands on the Pi-hole server.","url":"https://insights.sbomify.com/CVE-2026-35517/"}