Vulnerability · Published Sep 21, 2026 · Assigned by GitHub_M

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

Medium 6.2

In plain English

A medium-severity security flaw in dasel from TomWright. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.2Medium
Exploit odds (30 days)0.1%top 97.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:14dasel3.11.2-1DEBIAN-CVE-2026-59168
Gogithub.com/tomwright/daselno fix listedGO-2026-6549
Gogithub.com/tomwright/dasel/v2no fix listedGO-2026-6549
Gogithub.com/tomwright/dasel/v33.11.1GHSA-cqxr-jxr2-85pq
Gogithub.com/tomwright/dasel/v33.11.1GO-2026-6549
Ubuntu:26.04:LTSdaselno fix listedUBUNTU-CVE-2026-59168
Ubuntu:26.10daselno fix listedUBUNTU-CVE-2026-59168

Affected products (as reported)

VendorProductVersions
TomWright dasel >= 3.0.0, < 3.11.1

Weakness: CWE-674 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References