{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-46378","id":"CVE-2026-46378","title":"Dasel: Denial of service in dasel selector lexer due to infinite loop on unterminated regex literal","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 selector lexer matchRegexPattern closure in (*Tokenizer).parseCurRune in selector/lexer/tokenize.go loops while tokenizing an unterminated regex literal such as r/ because peekRuneEqual returns false after the end of input, allowing attacker-controlled selector strings t","descriptionLong":"Dasel is a command-line tool and library for querying, modifying, and transforming data structures. From 3.0.0 until 3.10.1, the selector lexer matchRegexPattern closure in (*Tokenizer).parseCurRune in selector/lexer/tokenize.go loops while tokenizing an unterminated regex literal such as r/ because peekRuneEqual returns false after the end of input, allowing attacker-controlled selector strings to consume CPU indefinitely. This issue is fixed in version 3.10.1.","published":"2026-07-16T17:54:51.705Z","updated":"2026-11-11T10:47:30.705886115Z","reserved":"2026-05-13T19:53:47.921Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"medium","products":["TomWright dasel"],"affectedProducts":[{"vendor":"TomWright","product":"dasel","defaultStatus":null,"versions":[{"version":">= 3.0.0, < 3.10.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/tomwright/dasel/v3","purl":"pkg:golang/github.com/tomwright/dasel/v3","ranges":[">=3.0.0 <3.10.1"],"fixed":["3.10.1"],"advisory":"GHSA-m6xr-fvfg-5g64"},{"ecosystem":"Go","name":"github.com/tomwright/dasel","purl":"pkg:golang/github.com/tomwright/dasel","ranges":["all versions"],"fixed":[],"advisory":"GO-2026-5493"},{"ecosystem":"Go","name":"github.com/tomwright/dasel/v2","purl":"pkg:golang/github.com/tomwright/dasel/v2","ranges":["all versions"],"fixed":[],"advisory":"GO-2026-5493"}],"cwes":["CWE-835"],"aliases":["GHSA-m6xr-fvfg-5g64","GO-2026-5493"],"references":[{"url":"https://github.com/TomWright/dasel/security/advisories/GHSA-m6xr-fvfg-5g64","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/TomWright/dasel/commit/95f8dd3af12958bf6ca2a737b3ec0267280f86ed","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46378.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46378","tags":["advisory"]},{"url":"https://github.com/TomWright/dasel","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00162,"epssPercentile":0.05463,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-46378","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46378","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-46378","ok":true,"note":"3 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-m6xr-fvfg-5g64","ok":true,"note":"GHSA-m6xr-fvfg-5g64"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-46378","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}