Dasel has unbounded YAML alias expansion in dasel leads to CPU/memory denial of service
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-674.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| TomWright | dasel | 3.0.0 to before 3.3.2 | 3.3.2 | Patch available | CNA |
| — | github.com/tomwright/dasel/v3 (Go) | 3.0.0 to before 3.3.2 | 3.3.2 | Patch available | GHSA-4fcp-jxh7-23x8 |
- dasel VendorTomWright Affected 3.0.0 to before 3.3.2 Fixed in 3.3.2 Patch available CNA
- github.com/tomwright/dasel/v3 (Go) Vendor— Affected 3.0.0 to before 3.3.2 Fixed in 3.3.2 Patch available GHSA-4fcp-jxh7-23x8
Remediation
- Fix · CNA dasel (TomWright) Fixed in 3.3.2
- Fix · GHSA-4fcp-jxh7-23x8 github.com/tomwright/dasel/v3 (Go) Fixed in 3.3.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-33320
- 2026-10-03 Alias added: GHSA-4fcp-jxh7-23x8
References
Sources
- CVE-2026-33320 · CVE Program
- CVE-2026-33320 · NVD
- FIRST EPSS
- GHSA-4fcp-jxh7-23x8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences