CVE-2026-46377
MEDIUM 6.2CVSS 3.1Dasel: Index-out-of-range panic in dasel selector lexer on trailing backslash in quoted string
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.
- Published
- 16 Jul 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-129
- Also known as
- GHSA-m5j3-4634-c2vqGO-2026-5491
- Sources
- NVDJSONOSV GHSA-m5j3-4634-c2vqJSONOSV GO-2026-5491JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/tomwright/dasel/v3 | >= 3.0.0, <= 3.10.0 | |
| OSV | Go | github.com/tomwright/dasel | all versions | |
| OSV | Go | github.com/tomwright/dasel/v2 | all versions | |
| OSV | Go | github.com/tomwright/dasel/v3 | >= 3.0.0 |
References
- https://github.com/TomWright/dasel/commit/5fc1172287df89860caf139b146007d7ed12178c
- https://github.com/TomWright/dasel/releases/tag/v3.10.1
- https://github.com/TomWright/dasel/security/advisories/GHSA-m5j3-4634-c2vq · WEB, ADVISORY
- https://github.com/TomWright/dasel · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 16 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 May 2026)