# CVE-2026-59168: Dasel: Unbounded recursion in JSON and XML readers causes unrecoverable stack-overflow DoS

- Severity: Medium 6.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-09-21T16:55:07.859Z
- Modified: 2026-10-01T20:55:54.790Z
- Also known as: GHSA-cqxr-jxr2-85pq, GO-2026-6549
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- TomWright dasel: >= 3.0.0, < 3.11.1
- github.com/tomwright/dasel/v3 (Go): from 3.0.0 before 3.11.1
- github.com/tomwright/dasel (Go): all versions
- github.com/tomwright/dasel/v2 (Go): all versions

## Every score

- GitHub_M: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/TomWright/dasel/security/advisories/GHSA-cqxr-jxr2-85pq> (advisory, web)
- <https://github.com/TomWright/dasel/commit/4c91d0d02dc59ce8404709b1bfed7a6fabe62f68> (web)
- <https://github.com/TomWright/dasel/releases/tag/v3.11.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59168> (advisory)
- <https://github.com/TomWright/dasel> (package)

## Sources

- CVE List: [CVE-2026-59168](https://www.cve.org/CVERecord?id=CVE-2026-59168), CVE Terms of Use, modified 2026-09-21
- GitHub Advisory Database: [GHSA-cqxr-jxr2-85pq](https://github.com/advisories/GHSA-cqxr-jxr2-85pq), CC-BY-4.0, modified 2026-10-01
- Go Vulnerability Database: [GO-2026-6549](https://pkg.go.dev/vuln/GO-2026-6549), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-59168](https://nvd.nist.gov/vuln/detail/CVE-2026-59168), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-59168 · Whole record: https://cve.day/CVE-2026-59168.json · Rebuilt by cve.day 2026-11-25T22:59:40.350Z
