CVE-2026-46377
published medium CVSS 3.1 · 6.2Dasel: Index-out-of-range panic in dasel selector lexer on trailing backslash in quoted string
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| TomWright | — | dasel>= 3.0.0, < 3.10.1 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | dasel | Fixed | 3.11.2-r0 | Package fix record |
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 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| TomWright | dasel | >= 3.0.0, < 3.10.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-129 CWE-129: Improper Validation of Array Index
References
3Provider assertions
2GitHub_M · cna
Dasel: Index-out-of-range panic in dasel selector lexer on trailing backslash in quoted string
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b3ac1274884a4b71dcc082516284744a7a42aad7878e683e872e5804050141fb
- Ingested
- 23 Sep 2026, 09:16:17 UTC
- Source record
- Official CVE record