CVE-2026-46377

Dasel: Index-out-of-range panic in dasel selector lexer on trailing backslash in quoted string

Published Jul 16, 2026 CVSS 3.1 · 6.2 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-m5j3-4634-c2vq Dasel: Index-out-of-range panic in dasel selector lexer on trailing backslash in quoted string
History
Type Values Removed Values Added
First Time appeared Tomwright
Tomwright dasel
Vendors & Products Tomwright
Tomwright dasel
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Dasel: Index-out-of-range panic in dasel selector lexer on trailing backslash in quoted string
Weaknesses CWE-129
References
Metrics cvssV3_1

{'score': 6.2, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 16, 2026, 6:21 PM
Reserved
May 13, 2026, 7:53 PM
Status
Deferred
Published
Jul 16, 2026, 7:16 PM
Modified
Oct 24, 2026, 8:10 PM