Vulnerability · Published Jul 16, 2026 · Assigned by GitHub_M

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

Medium 6.2

In plain English

A medium-severity infinite loop in dasel from TomWright. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 5% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.2Medium
Exploit odds (30 days)0.2%top 94.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:14dasel3.11.0-1DEBIAN-CVE-2026-46378
Gogithub.com/tomwright/daselno fix listedGO-2026-5493
Gogithub.com/tomwright/dasel/v2no fix listedGO-2026-5493
Gogithub.com/tomwright/dasel/v33.10.1GO-2026-5493
Gogithub.com/tomwright/dasel/v33.10.1GHSA-m6xr-fvfg-5g64
Ubuntu:26.04:LTSdaselno fix listedUBUNTU-CVE-2026-46378
Ubuntu:26.10daselno fix listedUBUNTU-CVE-2026-46378

Affected products (as reported)

VendorProductVersions
TomWright dasel >= 3.0.0, < 3.10.1

Weakness: CWE-835 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References