Dasel: Index-out-of-range panic in dasel selector lexer on trailing backslash in quoted string
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-129 and the CVSS impact.
Summary
Dasel is a command-line tool and library for querying, modifying, and transforming data structures. From 3.0.0 until 3.10.1, the escape sequence handler in (*Tokenizer).parseCurRune in selector/lexer/tokenize.go increments past a trailing backslash in a quoted string such as "\ or '\ and then reads p.src[pos] without a bounds check, allowing attacker-controlled selector strings to trigger a Go index-out-of-range panic. This issue is fixed in version 3.10.1.
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.10.1 | 3.10.1 | Patch available | CNA |
| — | github.com/tomwright/dasel/v3 (Go) | 3.0.0 – 3.10.0 | — | No fix listed | GHSA-m5j3-4634-c2vq |
- dasel VendorTomWright Affected 3.0.0 to before 3.10.1 Fixed in 3.10.1 Patch available CNA
- github.com/tomwright/dasel/v3 (Go) Vendor— Affected 3.0.0 – 3.10.0 Fixed in — No fix listed GHSA-m5j3-4634-c2vq
Remediation
- Fix · CNA dasel (TomWright) Fixed in 3.10.1
Timeline
- 2026-10-02 Threatist record created from CVE-2026-46377
- 2026-10-03 Alias added: GHSA-m5j3-4634-c2vq
References
More TomWright vulnerabilities
- TI-2026-44930 Dasel: Selector lexer panics on trailing whitespace in `parseCurRune` CVSS 3.1MEDIUM 6.2
- TI-2026-34094 Dasel: Denial of service in dasel selector lexer due to infinite loop on unterminated regex literal CVSS 3.1MEDIUM 6.2
- TI-2026-25731 Dasel has unbounded YAML alias expansion in dasel leads to CPU/memory denial of service CVSS 3.1MEDIUM 6.2
- TI-2026-42329 Dasel: Unbounded recursion in JSON and XML readers causes unrecoverable stack-overflow DoS CVSS 3.1MEDIUM 6.2
Sources
- CVE-2026-46377 · CVE Program
- CVE-2026-46377 · NVD
- FIRST EPSS
- GHSA-m5j3-4634-c2vq · 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