CVE-2026-59168: CWE-674: Uncontrolled Recursion in TomWright dasel
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.
AI Analysis
Technical Summary
Dasel is a command-line tool and library for data structure manipulation. Versions 3.0.0 through 3.11.0 have a vulnerability (CWE-674) in the parsing/json/json_reader.go and parsing/xml/reader.go files where decodeValue, decodeObject, decodeArray, and parseElement functions recurse once per input nesting level without a depth guard. This uncontrolled recursion on deeply nested JSON or XML input can exhaust the Go goroutine stack, causing an unrecoverable fatal error that terminates the process. The XML input size limit does not mitigate this issue, and Go's defer or recover cannot handle the failure. The vulnerability is resolved in version 3.11.1.
Potential Impact
An attacker can supply deeply nested JSON or XML input to cause stack exhaustion in the dasel process, resulting in a fatal error and process termination. This leads to a denial of service (DoS) condition. There is no impact on confidentiality or integrity. The vulnerability requires local or limited access (AV:L) and no privileges are required to trigger it (PR:N).
Mitigation Recommendations
Upgrade dasel to version 3.11.1 or later, where this uncontrolled recursion vulnerability is fixed. No other mitigations are indicated or effective since the failure cannot be intercepted by defer or recover, and XML input size limits do not prevent the issue.
CVE-2026-59168: CWE-674: Uncontrolled Recursion in TomWright dasel
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.
CVSS v3.1
Score 6.2medium
Affected software
TomWright
dasel
pkg:golang/github.com/tomwright/daselRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Dasel is a command-line tool and library for data structure manipulation. Versions 3.0.0 through 3.11.0 have a vulnerability (CWE-674) in the parsing/json/json_reader.go and parsing/xml/reader.go files where decodeValue, decodeObject, decodeArray, and parseElement functions recurse once per input nesting level without a depth guard. This uncontrolled recursion on deeply nested JSON or XML input can exhaust the Go goroutine stack, causing an unrecoverable fatal error that terminates the process. The XML input size limit does not mitigate this issue, and Go's defer or recover cannot handle the failure. The vulnerability is resolved in version 3.11.1.
Potential Impact
An attacker can supply deeply nested JSON or XML input to cause stack exhaustion in the dasel process, resulting in a fatal error and process termination. This leads to a denial of service (DoS) condition. There is no impact on confidentiality or integrity. The vulnerability requires local or limited access (AV:L) and no privileges are required to trigger it (PR:N).
Mitigation Recommendations
Upgrade dasel to version 3.11.1 or later, where this uncontrolled recursion vulnerability is fixed. No other mitigations are indicated or effective since the failure cannot be intercepted by defer or recover, and XML input size limits do not prevent the issue.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-02T16:50:27.887Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ab1630f55bf5e2cf5345b93
Added to database: 09/21/2026, 17:02:07 UTC
Last enriched: 09/21/2026, 17:16:40 UTC
Last updated: 09/22/2026, 00:07:38 UTC
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.