Security mailing lists by PureSourceCode

CVE-2026-46378

MEDIUM 6.2CVSS 3.1

Dasel: Denial of service in dasel selector lexer due to infinite loop on unterminated regex literal

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
16 Jul 2026
Last modified
24 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-835
Also known as
GHSA-m6xr-fvfg-5g64GO-2026-5493
Sources
NVDJSONOSV GHSA-m6xr-fvfg-5g64JSONOSV GO-2026-5493JSON

Scores

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/tomwright/dasel/v3 >= 3.0.0, < 3.10.1 3.10.1
OSV Go github.com/tomwright/dasel all versions
OSV Go github.com/tomwright/dasel/v2 all versions

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.