Vulnerability
CVE-2026-62866
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.
7 advisories report this vulnerability, across 6 ecosystems.
Advisories
- ALPINE-EDGE-CVE-2026-62866
- CGA-929f-mv84-h64w
- CGA-jq6c-6v27-hqxp
-
DEBIAN-CVE-2026-62866
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…
-
GHSA-65gg-g7rw-6cpc
Dasel: Selector lexer panics on trailing whitespace in `parseCurRune`
-
GO-2026-6548
Dasel: Selector lexer panics on trailing whitespace in `parseCurRune` in github.com/tomwright/dasel
-
UBUNTU-CVE-2026-62866
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…