What’s Vulnerable › Vulnerabilities
CVE-2026-46378: Dasel: Denial of service in dasel selector lexer due to infinite loop on unterminated regex literal
- Severity: medium (CVSS 6.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-16 · updated 2026-10-24
- Weakness: CWE-835
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 products
- TomWright dasel: from 3.0.0, < 3.10.1
References
- https://github.com/TomWright/dasel/commit/95f8dd3af12958bf6ca2a737b3ec0267280f86ed
- https://github.com/TomWright/dasel/security/advisories/GHSA-m6xr-fvfg-5g64
- https://github.com/TomWright/dasel/security/advisories/GHSA-m6xr-fvfg-5g64
Get alerted when CVE-2026-46378 or the next vulnerability affects your stack