CVE-2026-59168
Description
Dasel is a command-line tool and library for querying, modifying, and transforming data structures. From 3.0.0 until 3.11.1, parsing/json/json_reader.go decodeValue, decodeObject, and decodeArray, and parsing/xml/reader.go parseElement, recurse once per input nesting level without a depth guard. Deeply nested attacker-controlled JSON or XML supplied through parsing.Format(...).NewReader(...).Read(data), the command-line interface, or the parse selector function can exhaust the Go goroutine stack and raise an unrecoverable fatal error that terminates the entire process. The XML input-size limit does not prevent depth exhaustion, and defer or recover cannot intercept the failure. This issue is fixed in version 3.11.1.
How to fix
- github.com/tomwright/dasel/v33.11.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| github.com/tomwright/dasel/v3Go | 3.0.0 ≤ v < 3.11.1 | 3.11.1 |
| github.com/tomwright/daselGo | No range specified | — |
| github.com/tomwright/dasel/v2Go | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.