Skip to content

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

MediumCVSS 6.2 EPSS 0.19%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

6 packages: 1 fixed, 1 partially fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/dasel(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/dasel(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/dasel(Ubuntu 26.10) All versions No fix listed No fix yet
tomwright github.com/tomwright/dasel/v3(Go) >= 3.0.0; >= 3.0.0, <= 3.10.0; All versions after 3.10.0 Partially fixed
debian/dasel(Debian 14) < 3.11.0-1; = 2.8.1-1; = 3.8.0-1; = 3.8.1-1 3.11.0-1 Fixed
tomwright github.com/tomwright/dasel/v3 = >= 3.0.0, < 3.10.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
tomwright github.com/tomwright/dasel/v3(Go) >= 3.0.0, <= 3.10.0 No fix listed
tomwright github.com/tomwright/dasel/v3(Go) All versions No fix listed
tomwright github.com/tomwright/dasel/v3(Go) >= 3.0.0 No fix listed
tomwright github.com/tomwright/dasel/v3 = >= 3.0.0, < 3.10.1 No fix listed
debian/dasel(Debian:14) < 3.11.0-1 3.11.0-1
debian/dasel(Debian:14) = 2.8.1-1 No fix listed
debian/dasel(Debian:14) = 3.8.0-1 No fix listed
debian/dasel(Debian:14) = 3.8.1-1 No fix listed
ubuntu/dasel(Ubuntu:24.04) All versions No fix listed
ubuntu/dasel(Ubuntu:26.04) All versions No fix listed
ubuntu/dasel(Ubuntu:26.10) All versions No fix listed

References