CVE-2026-46378
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.
- CVSS 3.1
- 6.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - EPSS
- 0.2% chance of exploitation in the next 30 days; higher than 5% of CVEs (scores of 2026-10-25)
- CWE
- CWE-835
- Published
- Modified
- Record from
- the NVD, synced
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-m6xr-fvfg-5g64 | Go | github.com/tomwright/dasel/v3 | >=3.0.0 <3.10.1 | 3.10.1 |
| GO-2026-5493 | Go | github.com/tomwright/dasel | all versions | no fix published |
| GO-2026-5493 | Go | github.com/tomwright/dasel/v2 | all versions | no fix published |
| GO-2026-5493 | Go | github.com/tomwright/dasel/v3 | >=3.0.0 <3.10.1 | 3.10.1 |