Skip to main content
← All vulnerabilities
CVE-2026-62866GO-2026-6548GHSA-65GG-G7RW-6CPC

Dasel: Selector lexer panics on trailing whitespace in `parseCurRune`

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.11.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • TomWright dasel

    From 3.0.0 · fixed in 3.11.2

  • github.com/tomwright/daselGo

    All versions

  • github.com/tomwright/dasel/v2Go

    All versions

  • github.com/tomwright/dasel/v3Go

    From 3.0.0 · fixed in 3.11.2

References 3

GitHub · TomWright/dasel