Vulnerability in Tomwright Dasel

CVE-2026-33320

Dasel is a command-line tool and library for querying, modifying, and transforming data structures. Starting in version 3.0.0 and prior to version 3.3.1, Dasel's YAML reader allows an attacker who can supply YAML for processing to trigger extreme CPU and memory consumption. The issue is in the library's own `UnmarshalYAML` implementation, which manually resolves alias nodes by recursively following `yaml.Node.Alias` pointers without any expansion budget, bypassing go-yaml v4's built-in alias expansion limit. Version 3.3.2 contains a patch for the issue.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.2 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.002, 13.1th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

4 public repositories with exploit or proof-of-concept code for this CVE:

  • Omer-Asher/dasel-cve-exercise (last pushed 2026-07-22): Melange packaging and apko image for Dasel v3.3.1 with a backported fix for CVE-2026-33320.
  • GonSarrabia/Minimus-Junior-Backend-Exercise (last pushed 2026-06-11): Junior Backend Candidate Exercise: Packaging the dasel CLI (v3.3.1) with Melange, fixing CVE-2026-33320, and building a minimal container image using Apko.
  • rotavori/dasel-melange-apko (last pushed 2026-06-01): dasel v3.3.1 packaged with Melange and shipped as a minimal apko image, patched for CVE-2026-33320
  • nedlir/dasel-hardened-container (last pushed 2026-05-31): Hardened dasel v3.3.1 package and image built via Melange and apko. Patching CVE-2026-33320.

References