{"id":"CVE-2026-62866","summary":"Dasel: Selector lexer panics on trailing whitespace in `parseCurRune`","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.","aliases":["GHSA-65gg-g7rw-6cpc"],"modified":"2026-09-23T03:46:40.028584830Z","published":"2026-09-21T16:51:18.520Z","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"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tomwright/dasel","events":[{"introduced":"648f83baf070d9e00db8ff312febef857ec090a3"},{"fixed":"eee03aec28d4a33d6138098d065b7b37b85e3c55"},{"fixed":"008b0ed9cae7d5d5b0c72e23c84836c5b2f0338b"}],"database_specific":{"extracted_events":[{"introduced":"3.0.0"},{"fixed":"3.11.2"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v3.11.1","v3.11.0","v3.10.1","v3.10.0","v3.9.0","v3.8.1","v3.8.0","v3.7.0","v3.6.0","v3.5.0","v3.4.1","v3.4.0","v3.3.2","v3.3.1","v3.3.0","v3.2.3","v3.2.2","v3.2.1","v3.2.0","v3.1.4","v3.1.3","v3.1.2","v3.1.1","v3.1.0","v3.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62866.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}