Skip to main content
← All vulnerabilities
CVE-2026-46377GHSA-M5J3-4634-C2VQGO-2026-5491

Dasel: Index-out-of-range panic in dasel selector lexer on trailing backslash in quoted string

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.10.1
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.10.1, the escape sequence handler in (*Tokenizer).parseCurRune in selector/lexer/tokenize.go increments past a trailing backslash in a quoted string such as "\ or '\ and then reads p.src[pos] without a bounds check, allowing attacker-controlled selector strings to trigger a Go index-out-of-range panic. This issue is fixed in version 3.10.1.

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.10.1

  • github.com/tomwright/dasel/v3Go

    From 3.0.0 · through 3.10.0

  • github.com/tomwright/daselGo

    All versions

  • github.com/tomwright/dasel/v2Go

    All versions

  • github.com/tomwright/dasel/v3Go

    From 3.0.0

References 3

GitHub · TomWright/dasel