CVE-2026-59168 Details
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.
A denial-of-service vulnerability has been identified in the command-line tool and library Dasel, specifically in versions 3.0.0 through 3.11.0. The issue arises in the JSON and XML parsing readers, which lack proper depth controls when handling nested structures. This flaw allows deeply nested, attacker-controlled JSON or XML to be processed, causing the Go runtime to exceed its stack limits and resulting in a fatal error that crashes the entire process. The JSON reader also lacks a size limit, while the XML reader's size cap does not prevent depth-related stack exhaustion.
Users can upgrade to Dasel version 3.11.1, which addresses the vulnerability by adding a depth limit of 10,000 levels to both the JSON and XML readers. This update prevents the stack overflow by capping recursion depth and returning a clean error message when the limit is exceeded.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 21, 2026CISA-ADP
Assessed Sep 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/TomWright/dasel/commit/4c91d0d02dc59ce8404709b1bfed7a6fabe62f68 | [email protected] | Source CodeVendor |
| https://github.com/TomWright/dasel/releases/tag/v3.11.1 | [email protected] | Release NotesVendor |
| https://github.com/TomWright/dasel/security/advisories/GHSA-cqxr-jxr2-85pq | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-674 | Uncontrolled Recursion | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| TomWright dasel | >= 3.0.0, <= 3.11.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 21, 2026 | CVE Modified | CISA-ADP |
| Sep 21, 2026 | New CVE Received | [email protected] |
Volerion