{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "3.0.0"
              },
              {
                "fixed": "3.11.2"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "648f83baf070d9e00db8ff312febef857ec090a3"
            },
            {
              "fixed": "eee03aec28d4a33d6138098d065b7b37b85e3c55"
            },
            {
              "fixed": "008b0ed9cae7d5d5b0c72e23c84836c5b2f0338b"
            }
          ],
          "repo": "https://github.com/tomwright/dasel",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-65gg-g7rw-6cpc"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-129"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62866.json"
  },
  "details": "Dasel is a command-line tool and library for querying, modifying, and transforming data structures. From 3.0.0 until 3.11.2, selector/lexer/tokenize.go parseCurRune advances the input index across trailing whitespace and then reads the source at the exhausted index without an end-of-input check. A selector ending in whitespace, including input passed through lexer.NewTokenizer(...).Tokenize() or dasel.Query, can therefore cause an index-out-of-range panic and terminate the process. This issue is fixed in version 3.11.2.",
  "id": "CVE-2026-62866",
  "modified": "2026-09-23T03:30:36.989324846Z",
  "published": "2026-09-21T16:51:18.520Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/TomWright/dasel/releases/tag/v3.11.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62866.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/TomWright/dasel/security/advisories/GHSA-65gg-g7rw-6cpc"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-62866"
    },
    {
      "type": "FIX",
      "url": "https://github.com/TomWright/dasel/commit/eee03aec28d4a33d6138098d065b7b37b85e3c55"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Dasel: Selector lexer panics on trailing whitespace in `parseCurRune`"
}