Skip to main content
← All vulnerabilities
CVE-2026-33320GHSA-4FCP-JXH7-23X8GO-2026-4768

Dasel has unbounded YAML alias expansion in dasel leads to CPU/memory denial of service

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.3.2
3 proofs of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • TomWright dasel

    From 3.0.0 · fixed in 3.3.2

  • github.com/tomwright/dasel/v3Go

    From 3.0.0 · fixed in 3.3.2

  • github.com/tomwright/daselGo

    All versions

  • github.com/tomwright/dasel/v2Go

    All versions

References 4

GitHub · TomWright/dasel

GitHub · GonSarrabia/Minimus-Junior-Backend-Exercise

GitHub · nedlir/dasel-hardened-container

GitHub · rotavori/dasel-melange-apko