{"id":"CVE-2026-62866","state":"PUBLISHED","title":"Dasel: Selector lexer panics on trailing whitespace in `parseCurRune`","description":"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.","publishedAt":"2026-09-21T16:51:18.520Z","updatedAt":"2026-09-21T18:00:18.178Z","severity":{"score":6.2,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["TomWright dasel"],"affected":[{"vendor":"TomWright","product":"dasel","versions":[{"version":">= 3.0.0, < 3.11.2","status":"affected"}]}],"references":["https://github.com/TomWright/dasel/security/advisories/GHSA-65gg-g7rw-6cpc","https://github.com/TomWright/dasel/commit/eee03aec28d4a33d6138098d065b7b37b85e3c55","https://github.com/TomWright/dasel/releases/tag/v3.11.2"],"weaknesses":["CWE-129"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/62xxx/CVE-2026-62866.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-62866","state":"PUBLISHED","datePublished":"2026-09-21T16:51:18.520Z","dateUpdated":"2026-09-21T18:00:18.178Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-14T21:10:50.032Z"},"containers":{"cna":{"title":"Dasel: Selector lexer panics on trailing whitespace in `parseCurRune`","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"TomWright","product":"dasel","versions":[{"version":">= 3.0.0, < 3.11.2","status":"affected"}]}],"references":[{"url":"https://github.com/TomWright/dasel/security/advisories/GHSA-65gg-g7rw-6cpc","name":"https://github.com/TomWright/dasel/security/advisories/GHSA-65gg-g7rw-6cpc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/TomWright/dasel/commit/eee03aec28d4a33d6138098d065b7b37b85e3c55","name":"https://github.com/TomWright/dasel/commit/eee03aec28d4a33d6138098d065b7b37b85e3c55","tags":["x_refsource_MISC"]},{"url":"https://github.com/TomWright/dasel/releases/tag/v3.11.2","name":"https://github.com/TomWright/dasel/releases/tag/v3.11.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.2,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-129","lang":"en","description":"CWE-129: Improper Validation of Array Index","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-21T16:55:00.169Z"},"source":{"advisory":"GHSA-65gg-g7rw-6cpc","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/TomWright/dasel/security/advisories/GHSA-65gg-g7rw-6cpc","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-21T17:59:52.863215Z","id":"CVE-2026-62866","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-21T18:00:18.178Z"}}]}}}