ADVISORIES

Vulnerability

CVE-2026-46378

Dasel is a command-line tool and library for querying, modifying, and transforming data structures. From 3.0.0 until 3.10.1, the selector lexer matchRegexPattern closure in (*Tokenizer).parseCurRune in selector/lexer/tokenize.go loops while tokenizing an unterminated regex literal such as r/ because peekRuneEqual returns false after the end of input, allowing attacker-controlled selector strings to consume CPU indefinitely. This issue is fixed in version 3.10.1.

8 advisories report this vulnerability, across 7 ecosystems.

Advisories in Go

  • GHSA-m6xr-fvfg-5g64

    Dasel: Denial of service in dasel selector lexer due to infinite loop on unterminated regex literal

    High CVE-2026-46378 Go Updated 10 September 2026
  • GO-2026-5493

    Dasel: Denial of service in dasel selector lexer due to infinite loop on unterminated regex literal in github.com/tomwright/dasel

    CVE-2026-46378 Go Updated 25 June 2026

References