{"id":"CVE-2026-46377","state":"PUBLISHED","title":"Dasel: Index-out-of-range panic in dasel selector lexer on trailing backslash in quoted string","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.","publishedAt":"2026-07-16T17:57:16.643Z","updatedAt":"2026-07-16T18:21:45.505Z","severity":{"score":6.2,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["TomWright dasel"],"affected":[{"vendor":"TomWright","product":"dasel","versions":[{"version":">= 3.0.0, < 3.10.1","status":"affected"}]}],"references":["https://github.com/TomWright/dasel/security/advisories/GHSA-m5j3-4634-c2vq","https://github.com/TomWright/dasel/commit/5fc1172287df89860caf139b146007d7ed12178c","https://github.com/TomWright/dasel/releases/tag/v3.10.1"],"weaknesses":["CWE-129"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/46xxx/CVE-2026-46377.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-46377","state":"PUBLISHED","datePublished":"2026-07-16T17:57:16.643Z","dateUpdated":"2026-07-16T18:21:45.505Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-13T19:53:47.921Z"},"containers":{"cna":{"title":"Dasel: Index-out-of-range panic in dasel selector lexer on trailing backslash in quoted string","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"TomWright","product":"dasel","versions":[{"version":">= 3.0.0, < 3.10.1","status":"affected"}]}],"references":[{"url":"https://github.com/TomWright/dasel/security/advisories/GHSA-m5j3-4634-c2vq","name":"https://github.com/TomWright/dasel/security/advisories/GHSA-m5j3-4634-c2vq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/TomWright/dasel/commit/5fc1172287df89860caf139b146007d7ed12178c","name":"https://github.com/TomWright/dasel/commit/5fc1172287df89860caf139b146007d7ed12178c","tags":["x_refsource_MISC"]},{"url":"https://github.com/TomWright/dasel/releases/tag/v3.10.1","name":"https://github.com/TomWright/dasel/releases/tag/v3.10.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.2,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-129","lang":"en","description":"CWE-129: Improper Validation of Array Index","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-16T17:57:16.643Z"},"source":{"advisory":"GHSA-m5j3-4634-c2vq","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/TomWright/dasel/security/advisories/GHSA-m5j3-4634-c2vq","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-16T18:21:25.556634Z","id":"CVE-2026-46377","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-16T18:21:45.505Z"}}]}}}