{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.0"
                  },
                  {
                    "fixed": "6.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "31a1742c50db4eef9201d3df3eab8c2f6b34a316"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v6.7",
                "range": [
                  {
                    "fixed": "fa65a88f8cdef1013594d4de14108077954faea4"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "eaa7dbb4cf4316413558c9d4b4e3f2a44f8e8203"
            },
            {
              "fixed": "fa65a88f8cdef1013594d4de14108077954faea4"
            },
            {
              "fixed": "31a1742c50db4eef9201d3df3eab8c2f6b34a316"
            }
          ],
          "repo": "https://github.com/pi-hole/ftl",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-w8cr-2cwg-92cg"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-613"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71304.json"
  },
  "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.",
  "id": "CVE-2026-71304",
  "modified": "2026-11-18T20:45:51.284116925Z",
  "published": "2026-11-17T20:49:42.501Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Pi-hole FTL: Session Expiration Bypass"
}