CVE-2026-46377: CWE-129: Improper Validation of Array Index in TomWright dasel
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.
AI Analysis
Technical Summary
CVE-2026-46377 is an improper validation of array index vulnerability (CWE-129) in the Dasel command-line tool and library. The escape sequence handler in the parseCurRune function of the tokenizer increments past a trailing backslash in quoted strings and then reads from the source buffer without verifying bounds. This leads to an index-out-of-range panic in Go, which can be triggered by attacker-controlled selector strings. The vulnerability affects Dasel versions >=3.0.0 and <3.10.1 and is resolved in version 3.10.1.
Potential Impact
The vulnerability causes a denial of service via an index-out-of-range panic, crashing the Dasel process when processing crafted selector strings. There is no impact on confidentiality or integrity, only availability is affected.
Mitigation Recommendations
Upgrade Dasel to version 3.10.1 or later, where this issue is fixed. No other mitigation or workaround is indicated.
CVE-2026-46377: CWE-129: Improper Validation of Array Index in TomWright dasel
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.
CVSS v3.1
Score 6.2medium
Affected software
pkg:golang/github.com/tomwright/daselRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-46377 is an improper validation of array index vulnerability (CWE-129) in the Dasel command-line tool and library. The escape sequence handler in the parseCurRune function of the tokenizer increments past a trailing backslash in quoted strings and then reads from the source buffer without verifying bounds. This leads to an index-out-of-range panic in Go, which can be triggered by attacker-controlled selector strings. The vulnerability affects Dasel versions >=3.0.0 and <3.10.1 and is resolved in version 3.10.1.
Potential Impact
The vulnerability causes a denial of service via an index-out-of-range panic, crashing the Dasel process when processing crafted selector strings. There is no impact on confidentiality or integrity, only availability is affected.
Mitigation Recommendations
Upgrade Dasel to version 3.10.1 or later, where this issue is fixed. No other mitigation or workaround is indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-13T19:53:47.921Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a59206068715ace437c3ef2
Added to database: 07/16/2026, 18:18:08 UTC
Last enriched: 07/17/2026, 08:17:10 UTC
Last updated: 08/27/2026, 22:52:11 UTC
Views: 62
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.