CVE-2026-62866
MEDIUM 6.2CVSS 3.1Dasel: Selector lexer panics on trailing whitespace in `parseCurRune`
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.
- Published
- 21 Sep 2026
- Last modified
- 1 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-129
- Also known as
- GHSA-65gg-g7rw-6cpcGO-2026-6548
- Sources
- NVDJSONOSV GHSA-65gg-g7rw-6cpcJSONOSV GO-2026-6548JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/tomwright/dasel/v3 | >= 3.0.0, < 3.11.2 | 3.11.2 |
| OSV | Go | github.com/tomwright/dasel | all versions | |
| OSV | Go | github.com/tomwright/dasel/v2 | all versions |
References
- https://github.com/TomWright/dasel/commit/eee03aec28d4a33d6138098d065b7b37b85e3c55 · WEB
- https://github.com/TomWright/dasel/releases/tag/v3.11.2 · WEB
- https://github.com/TomWright/dasel/security/advisories/GHSA-65gg-g7rw-6cpc · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-62866 · ADVISORY
- https://github.com/TomWright/dasel · PACKAGE
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 21 Sep 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Oct 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Sep 2026)