Dasel: Selector lexer panics on trailing whitespace in `parseCurRune`
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-129 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| TomWright | dasel | 3.0.0 to before 3.11.2 | 3.11.2 | Patch available | CNA |
| — | github.com/tomwright/dasel/v3 (Go) | 3.0.0 to before 3.11.2 | 3.11.2 | Patch available | GHSA-65gg-g7rw-6cpc |
- dasel VendorTomWright Affected 3.0.0 to before 3.11.2 Fixed in 3.11.2 Patch available CNA
- github.com/tomwright/dasel/v3 (Go) Vendor— Affected 3.0.0 to before 3.11.2 Fixed in 3.11.2 Patch available GHSA-65gg-g7rw-6cpc
Remediation
- Fix · CNA dasel (TomWright) Fixed in 3.11.2
- Fix · GHSA-65gg-g7rw-6cpc github.com/tomwright/dasel/v3 (Go) Fixed in 3.11.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-62866
- 2026-10-03 Alias added: GHSA-65gg-g7rw-6cpc
References
More TomWright vulnerabilities
- TI-2026-34094 Dasel: Denial of service in dasel selector lexer due to infinite loop on unterminated regex literal CVSS 3.1MEDIUM 6.2
- TI-2026-34093 Dasel: Index-out-of-range panic in dasel selector lexer on trailing backslash in quoted string CVSS 3.1MEDIUM 6.2
- TI-2026-25731 Dasel has unbounded YAML alias expansion in dasel leads to CPU/memory denial of service CVSS 3.1MEDIUM 6.2
- TI-2026-42329 Dasel: Unbounded recursion in JSON and XML readers causes unrecoverable stack-overflow DoS CVSS 3.1MEDIUM 6.2
Sources
- CVE-2026-62866 · CVE Program
- CVE-2026-62866 · NVD
- FIRST EPSS
- GHSA-65gg-g7rw-6cpc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences