{"api_version":"1","generated_at":"2026-11-23T04:47:18+00:00","cve":"CVE-2026-65964","urls":{"html":"https://cve.report/CVE-2026-65964","api":"https://cve.report/api/cve/CVE-2026-65964.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-65964","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-65964"},"summary":{"title":"Pi-hole FTL: Log injection in webserver access-log writer chains to remote code execution via Lua-server-page evaluation","description":"Pi-hole FTL is the core engine of the Pi-hole network-level advertisement and tracker blocker. Prior to 6.7, log_http_access in src/webserver/webserver.c writes attacker-controlled User-Agent content to the access log without output neutralization when debug.api is enabled. If an administrator configures files.log.webserver inside webserver.paths.webroot with a filename matching lua_server_page_pattern, an unauthenticated request can plant Lua markup in that log and a later request can cause CivetWeb to evaluate the log as a Lua server page. The resulting commands run as the pihole operating-system user and can access or modify pihole-owned configuration, credentials, databases, logs, and rendered interface content. When the log is not served through the Lua handler, the same unneutralized writer still permits log forgery and downstream log-parser injection. This issue is fixed in version 6.7.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-11-17 21:18:11","updated_at":"2026-11-17 23:17:58"},"problem_types":["CWE-94","CWE-117","CWE-94 CWE-94: Improper Control of Generation of Code","CWE-117 CWE-117: Improper Output Neutralization for Logs"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"6.6","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","baseScore":6.6,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"6.6","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.6,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/pi-hole/FTL/security/advisories/GHSA-g7v8-8q8f-hprp","name":"https://github.com/pi-hole/FTL/security/advisories/GHSA-g7v8-8q8f-hprp","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/pi-hole/FTL/commit/07fe23439b644fe47649690595fb647b0e76e367","name":"https://github.com/pi-hole/FTL/commit/07fe23439b644fe47649690595fb647b0e76e367","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/pi-hole/FTL/pull/2936","name":"https://github.com/pi-hole/FTL/pull/2936","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/pi-hole/FTL/pull/2935","name":"https://github.com/pi-hole/FTL/pull/2935","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/pi-hole/FTL/releases/tag/v6.7","name":"https://github.com/pi-hole/FTL/releases/tag/v6.7","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-65964","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65964","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"pi-hole","product":"FTL","version":"affected < 6.7","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"65964","cve":"CVE-2026-65964","epss":"0.005520000","percentile":"0.468690000","score_date":"2026-11-18","updated_at":"2026-11-19 00:14:17"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-65964","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","timestamp":"2026-11-17T22:17:39.675485Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-11-17T22:22:59.408Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"FTL","vendor":"pi-hole","versions":[{"status":"affected","version":"< 6.7"}]}],"descriptions":[{"lang":"en","value":"Pi-hole FTL is the core engine of the Pi-hole network-level advertisement and tracker blocker. Prior to 6.7, log_http_access in src/webserver/webserver.c writes attacker-controlled User-Agent content to the access log without output neutralization when debug.api is enabled. If an administrator configures files.log.webserver inside webserver.paths.webroot with a filename matching lua_server_page_pattern, an unauthenticated request can plant Lua markup in that log and a later request can cause CivetWeb to evaluate the log as a Lua server page. The resulting commands run as the pihole operating-system user and can access or modify pihole-owned configuration, credentials, databases, logs, and rendered interface content. When the log is not served through the Lua handler, the same unneutralized writer still permits log forgery and downstream log-parser injection. This issue is fixed in version 6.7."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.6,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-117","description":"CWE-117: Improper Output Neutralization for Logs","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-17T20:57:41.365Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/pi-hole/FTL/security/advisories/GHSA-g7v8-8q8f-hprp","tags":["x_refsource_CONFIRM"],"url":"https://github.com/pi-hole/FTL/security/advisories/GHSA-g7v8-8q8f-hprp"},{"name":"https://github.com/pi-hole/FTL/pull/2935","tags":["x_refsource_MISC"],"url":"https://github.com/pi-hole/FTL/pull/2935"},{"name":"https://github.com/pi-hole/FTL/pull/2936","tags":["x_refsource_MISC"],"url":"https://github.com/pi-hole/FTL/pull/2936"},{"name":"https://github.com/pi-hole/FTL/commit/07fe23439b644fe47649690595fb647b0e76e367","tags":["x_refsource_MISC"],"url":"https://github.com/pi-hole/FTL/commit/07fe23439b644fe47649690595fb647b0e76e367"},{"name":"https://github.com/pi-hole/FTL/releases/tag/v6.7","tags":["x_refsource_MISC"],"url":"https://github.com/pi-hole/FTL/releases/tag/v6.7"}],"source":{"advisory":"GHSA-g7v8-8q8f-hprp","discovery":"UNKNOWN"},"title":"Pi-hole FTL: Log injection in webserver access-log writer chains to remote code execution via Lua-server-page evaluation"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-65964","datePublished":"2026-11-17T20:57:41.365Z","dateReserved":"2026-07-23T18:15:14.579Z","dateUpdated":"2026-11-17T22:22:59.408Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-17 21:18:11","lastModifiedDate":"2026-11-17 23:17:58","problem_types":["CWE-94","CWE-117","CWE-94 CWE-94: Improper Control of Generation of Code","CWE-117 CWE-117: Improper Output Neutralization for Logs"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","baseScore":6.6,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":0.7,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-11-17T22:17:39.675485Z","id":"CVE-2026-65964","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"65964","Ordinal":"1","Title":"Pi-hole FTL: Log injection in webserver access-log writer chains","CVE":"CVE-2026-65964","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"65964","Ordinal":"1","NoteData":"Pi-hole FTL is the core engine of the Pi-hole network-level advertisement and tracker blocker. Prior to 6.7, log_http_access in src/webserver/webserver.c writes attacker-controlled User-Agent content to the access log without output neutralization when debug.api is enabled. If an administrator configures files.log.webserver inside webserver.paths.webroot with a filename matching lua_server_page_pattern, an unauthenticated request can plant Lua markup in that log and a later request can cause CivetWeb to evaluate the log as a Lua server page. The resulting commands run as the pihole operating-system user and can access or modify pihole-owned configuration, credentials, databases, logs, and rendered interface content. When the log is not served through the Lua handler, the same unneutralized writer still permits log forgery and downstream log-parser injection. This issue is fixed in version 6.7.","Type":"Description","Title":"Pi-hole FTL: Log injection in webserver access-log writer chains"}]}}}