{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.0"
                  },
                  {
                    "fixed": "6.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "6d7902302ca7b7fdfdc602898a8d393d449dd3fb"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v6.7",
                "range": [
                  {
                    "fixed": "fa65a88f8cdef1013594d4de14108077954faea4"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "eaa7dbb4cf4316413558c9d4b4e3f2a44f8e8203"
            },
            {
              "fixed": "fa65a88f8cdef1013594d4de14108077954faea4"
            },
            {
              "fixed": "6d7902302ca7b7fdfdc602898a8d393d449dd3fb"
            }
          ],
          "repo": "https://github.com/pi-hole/ftl",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-r5vh-5q82-jg7q"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-113"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65966.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, validation in src/api/list.c permits spaces for GRAVITY_GROUPS and consequently skips carriage-return and line-feed validation for group names submitted through POST /api/groups. The unsanitized name is copied into the Location value in pi_hole_extra_headers, and CivetWeb interprets embedded CR/LF sequences as separate HTTP response headers. An authenticated administrator can therefore inject headers such as Set-Cookie, Location, or Cache-Control; when a browser processes the response, this can cause session fixation, attacker-controlled redirects, or cache behavior changes. This issue is fixed in version 6.7.",
  "id": "CVE-2026-65966",
  "modified": "2026-11-17T21:45:24.769563229Z",
  "published": "2026-11-17T20:47:36.667Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65966.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/pi-hole/FTL/commit/6d7902302ca7b7fdfdc602898a8d393d449dd3fb"
    },
    {
      "type": "FIX",
      "url": "https://github.com/pi-hole/FTL/pull/2935"
    },
    {
      "type": "FIX",
      "url": "https://github.com/pi-hole/FTL/pull/2936"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pi-hole/FTL/releases/tag/v6.7"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/pi-hole/FTL/security/advisories/GHSA-r5vh-5q82-jg7q"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-65966"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Pi-hole FTL: CRLF Injection / HTTP Header Injection via Group Name"
}