CVE-2026-46377

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

State
Published
Severity
6.2 Medium
Published
Jul 16, 2026
Updated
Jul 16, 2026
Reserved
May 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.2 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HGitHub_M

Weaknesses

  • CWE-129 Improper Validation of Array Index

Affected Products

ProductVersions
daselTomWright
  • >= 3.0.0, < 3.10.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.