CVE-2026-62866Dasel: Selector lexer panics on trailing whitespace in `parseCurRune`
Updated under an hour ago ()
Does this affect you?
It affects TomWright dasel. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
Dasel is a command-line tool and library for querying, modifying, and transforming data structures. From 3.0.0 until 3.11.2, selector/lexer/tokenize.go parseCurRune advances the input index across trailing whitespace and then reads the source at the exhausted index without an end-of-input check. A selector ending in whitespace, including input passed through lexer.NewTokenizer(...).Tokenize() or dasel.Query, can therefore cause an index-out-of-range panic and terminate the process. This issue is fixed in version 3.11.2.
- CVSS
- 6.2 MEDIUM (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weakness (CWE)
- CWE-129
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Deferred
- Record last updated
- Sep 21, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
TomWright dasel tomwright:dasel (from the name) | from 3.0.0, < 3.11.2 | CNA record |
References
- https://github.com/TomWright/dasel/security/advisories/GHSA-65gg-g7rw-6cpcx-refsource-confirm
- https://github.com/TomWright/dasel/commit/eee03aec28d4a33d6138098d065b7b37b85e3c55x-refsource-misc
- https://github.com/TomWright/dasel/releases/tag/v3.11.2x-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.