Loop with Unreachable Exit Condition ('Infinite Loop') Affecting dasel package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.16% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-DASEL-18016344
  • published19 Jul 2026
  • disclosed16 Jul 2026

Introduced: 16 Jul 2026

CVE-2026-46378  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest dasel.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dasel package and not the dasel package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.