CVE-2026-46378

Medium

Description

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.

SeverityMedium
CVSS6.2
Exploit probability—
ProductGithub.com/tomwright/dasel/v3
PublishedJul 16, 2026
First seenJul 16, 2026
Weakness typeCWE-835CWE-835

How to fix

Update
  • github.com/tomwright/dasel/v33.10.1 or later

Affected products

ProductAffected versionsFixed in
github.com/tomwright/dasel/v3Go3.0.0 ≤ v < 3.10.13.10.1
github.com/tomwright/daselGoNo range specified—
github.com/tomwright/dasel/v2GoNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.