CVE-2026-46378

MEDIUM

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

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 6.2
EPSS 0.0011
EPSS Percentile 1.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-835
Status published
Products (1)
TomWright/dasel >= 3.0.0, < 3.10.1
Published Jul 16, 2026
Tracked Since Jul 17, 2026