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

- Severity: Medium 6.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-19T20:08:12.000Z
- Modified: 2026-10-24T20:10:00.137Z
- Also known as: GHSA-m5j3-4634-c2vq, GO-2026-5491
- Weaknesses: CWE-129
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- TomWright dasel: >= 3.0.0, < 3.10.1
- github.com/tomwright/dasel/v3 (Go): from 3.0.0 up to 3.10.0; from 3.0.0
- github.com/tomwright/dasel (Go): all versions
- github.com/tomwright/dasel/v2 (Go): all versions

## Every score

- GitHub_M: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/TomWright/dasel/security/advisories/GHSA-m5j3-4634-c2vq> (exploit, advisory, web)
- <https://github.com/TomWright/dasel/commit/5fc1172287df89860caf139b146007d7ed12178c>
- <https://github.com/TomWright/dasel/releases/tag/v3.10.1>
- <https://github.com/TomWright/dasel> (package)

## Sources

- CVE List: [CVE-2026-46377](https://www.cve.org/CVERecord?id=CVE-2026-46377), CVE Terms of Use, modified 2026-07-16
- GitHub Advisory Database: [GHSA-m5j3-4634-c2vq](https://github.com/advisories/GHSA-m5j3-4634-c2vq), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-5491](https://pkg.go.dev/vuln/GO-2026-5491), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-46377](https://nvd.nist.gov/vuln/detail/CVE-2026-46377), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-46377 · Whole record: https://cve.day/CVE-2026-46377.json · Rebuilt by cve.day 2026-11-25T22:59:28.419Z
