Skip to main content

CVE-2026-62866: CWE-129: Improper Validation of Array Index in TomWright dasel

0
Medium
VulnerabilityCVE-2026-62866cvecve-2026-62866cwe-129
Published: 09/21/2026 (09/21/2026, 16:51:18 UTC)
Source: CVE Database V5
Vendor/Project: TomWright
Product: dasel

Description

Dasel is a command-line tool and library for querying, modifying, and transforming data structures. From 3.0.0 until 3.11.2, selector/lexer/tokenize.go parseCurRune advances the input index across trailing whitespace and then reads the source at the exhausted index without an end-of-input check. A selector ending in whitespace, including input passed through lexer.NewTokenizer(...).Tokenize() or dasel.Query, can therefore cause an index-out-of-range panic and terminate the process. This issue is fixed in version 3.11.2.

CVSS v3.1

Score 6.2medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

TomWright

dasel

Affected versions
>=3.0.0 <3.11.2
GitHub Actionsmore threats →ai
tomwright/dasel
pkg:github/tomwright/dasel

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/21/2026, 17:16:35 UTC

Technical Analysis

The vulnerability in dasel arises from the parseCurRune function in selector/lexer/tokenize.go, which advances the input index across trailing whitespace without checking for end-of-input before reading the source. When a selector ends with whitespace, including input processed via lexer.NewTokenizer(...).Tokenize() or dasel.Query, this leads to an index-out-of-range panic and process termination. This is an instance of CWE-129: Improper Validation of Array Index. The issue affects versions >=3.0.0 and <3.11.2 and is resolved in version 3.11.2.

Potential Impact

An attacker can cause dasel to crash by providing input selectors ending with whitespace, leading to an index-out-of-range panic and process termination. There is no impact on confidentiality or integrity, but availability is affected due to denial of service.

Mitigation Recommendations

Upgrade dasel to version 3.11.2 or later, where this issue is fixed. No other mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-14T21:10:50.032Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ab1630f55bf5e2cf5345b94

Added to database: 09/21/2026, 17:02:07 UTC

Last enriched: 09/21/2026, 17:16:35 UTC

Last updated: 09/21/2026, 22:42:52 UTC

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses