{"id":"CVE-2026-71304","summary":"Pi-hole FTL: Session Expiration Bypass","details":"Pi-hole FTL is the core engine of the Pi-hole network-level advertisement and tracker blocker. From 6.0 until 6.7, check_client_auth() in src/api/auth.c detects that a matching session identifier has passed valid_until but still assigns user_id before the expired state can be rejected. That assignment sends execution through the authorized branch, renews valid_until for another timeout interval, and leaves the session-expired response unreachable. An attacker who possesses a previously valid session identifier can periodically reuse it to preserve administrative access indefinitely, making the configured session timeout ineffective. This issue is fixed in version 6.7.","aliases":["GHSA-w8cr-2cwg-92cg"],"modified":"2026-11-19T01:04:13.125098475Z","published":"2026-11-17T20:49:42.501Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71304.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-613"]},"references":[{"type":"WEB","url":"https://github.com/pi-hole/FTL/releases/tag/v6.7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71304.json"},{"type":"ADVISORY","url":"https://github.com/pi-hole/FTL/security/advisories/GHSA-w8cr-2cwg-92cg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71304"},{"type":"FIX","url":"https://github.com/pi-hole/FTL/commit/31a1742c50db4eef9201d3df3eab8c2f6b34a316"},{"type":"FIX","url":"https://github.com/pi-hole/FTL/pull/2935"},{"type":"FIX","url":"https://github.com/pi-hole/FTL/pull/2936"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pi-hole/ftl","events":[{"introduced":"eaa7dbb4cf4316413558c9d4b4e3f2a44f8e8203"},{"fixed":"fa65a88f8cdef1013594d4de14108077954faea4"},{"fixed":"31a1742c50db4eef9201d3df3eab8c2f6b34a316"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"6.0"},{"fixed":"6.7"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"31a1742c50db4eef9201d3df3eab8c2f6b34a316"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v6.7","range":[{"fixed":"fa65a88f8cdef1013594d4de14108077954faea4"}],"source":"REFERENCES_TAG"}]}}],"versions":["v6.6.2","v6.6.1","v6.6","v6.5","v6.4.1","v6.3.3","v6.3.2","v6.3.1","v6.3","v6.2.3","v6.2.2","v6.2.1","v6.2","v6.1","v6.0.4","v6.0.3","v6.0.2","v6.0.1","v6.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-71304.json","vanir_signatures":[{"source":"https://github.com/pi-hole/ftl/commit/31a1742c50db4eef9201d3df3eab8c2f6b34a316","target":{"file":"src/api/auth.c","function":"check_client_auth"},"deprecated":false,"digest":{"function_hash":"23273258514452399677268630129427727259","length":3991},"id":"CVE-2026-71304-3a0421a5","signature_type":"Function","signature_version":"v1"},{"digest":{"line_hashes":["48192569439095830969238401142344710119","335606573278864907579108455929124816009","196306904062394349856736781599109612458","211734996988533328868063434675138461099","54032961883822831013674976158101505517"],"threshold":0.9},"id":"CVE-2026-71304-ab94810f","signature_type":"Line","signature_version":"v1","source":"https://github.com/pi-hole/ftl/commit/31a1742c50db4eef9201d3df3eab8c2f6b34a316","target":{"file":"src/api/auth.c"},"deprecated":false}],"vanir_signatures_modified":"2026-11-19T01:04:13Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}