Dasel has unbounded YAML alias expansion in dasel leads to CPU/memory denial of service
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-33320
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 02:16 UTC · Revision 1
Source evidence
Dasel has unbounded YAML alias expansion in dasel leads to CPU/memory denial of service
core-osv · Original sourcePublished 24 Mar 2026, 00:06 UTC
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.
osv:CVE-2026-33320
Complete source record
{
"id": "4d6e3279a7ee00b578b4676cb80c52929a6d50d80b1c84878a0c6097d5d8835a",
"url": "https://osv.dev/vulnerability/CVE-2026-33320",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Dasel has unbounded YAML alias expansion in dasel leads to CPU/memory denial of service",
"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.",
"evidence": "osv:CVE-2026-33320",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-33320",
"aliases": [
"CVE-2026-33320",
"GHSA-4fcp-jxh7-23x8",
"GO-2026-4768"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/tomwright/dasel",
"type": "GIT",
"events": [
{
"introduced": "648f83baf070d9e00db8ff312febef857ec090a3"
},
{
"fixed": "282943b3720684ae0ea89432f51755325a841c75"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.3.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:tomwright:dasel:*:*:*:*:*:go:*:*",
"range": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.3.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v3.3.1",
"v3.3.0",
"v3.2.3",
"v3.2.2",
"v3.2.1",
"v3.2.0",
"v3.1.4",
"v3.1.3",
"v3.1.2",
"v3.1.1",
"v3.1.0",
"v3.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33320.json"
}
}
],
"modified": "2026-10-28T02:30:46.154604913Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33320.json",
"https://github.com/TomWright/dasel/security/advisories/GHSA-4fcp-jxh7-23x8",
"https://nvd.nist.gov/vuln/detail/CVE-2026-33320"
],
"provider_metadata": {
"cwe_ids": [
"CWE-674"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33320.json"
}
},
"related_cves": [
{
"value": "CVE-2026-33320",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 514201,
"published_at": "2026-03-24T00:06:22.351+00:00"
}