Vulnerability in Tomwright Dasel
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.
CVSS v3 metric
CVSS v3 base score 6.2 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Tomwright Dasel — versions >= 3.0.0, < 3.11.2
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-62866?
- CVE-2026-62866 is a medium-severity vulnerability in Tomwright Dasel, classified under Improper Validation of Array Index. CVSS score: 6.2/10. Published 2026-09-21.
- How severe is CVE-2026-62866?
- Medium severity. CVSS v3 base score is 6.2 out of 10.