CVE-2026-46378 Details
Description
Dasel is a command-line tool and library for querying, modifying, and transforming data structures. From 3.0.0 until 3.10.1, the selector lexer matchRegexPattern closure in (*Tokenizer).parseCurRune in selector/lexer/tokenize.go loops while tokenizing an unterminated regex literal such as r/ because peekRuneEqual returns false after the end of input, allowing attacker-controlled selector strings to consume CPU indefinitely. This issue is fixed in version 3.10.1.
A denial-of-service vulnerability has been identified in Dasel versions 3.0.0 prior to 3.10.1. The issue arises in the selector lexer, where the regex pattern tokenizer can enter an infinite loop when processing an unterminated regex literal, such as 'r/'. This occurs because the tokenizer fails to properly check the input length, allowing attacker-controlled selector strings to cause excessive CPU usage indefinitely.
Users can upgrade to Dasel version 3.10.1 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 16, 2026CISA-ADP
Assessed Jul 17, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/TomWright/dasel/security/advisories/GHSA-m6xr-fvfg-5g64 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/TomWright/dasel/commit/95f8dd3af12958bf6ca2a737b3ec0267280f86ed | [email protected] | Source CodeVendor |
| https://github.com/TomWright/dasel/security/advisories/GHSA-m6xr-fvfg-5g64 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-835 | Loop with Unreachable Exit Condition ('Infinite Loop') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| TomWright dasel | >= 3.0.0, <= 3.10.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 17, 2026 | CVE Modified | CISA-ADP |
| Jul 16, 2026 | New CVE Received | [email protected] |
Volerion