Skip to content
Heist/ feed
Back to feed
Medium

dasel — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-62866

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.

Products
dasel
Affected versions
2.6.0-1, 2.6.0-1build1, 2.6.0-1ubuntu0.1, 2.6.0-1ubuntu0.2, 2.6.0-1ubuntu0.2+esm1, 2.6.0-1ubuntu0.3, 2.6.0-1ubuntu0.3+esm1, 2.6.0-1ubuntu0.3+esm2, 2.8.1-1, 2.8.1-1build1, 3.11.0-1, 3.11.2-1, 3.11.2-2
Fixed versions
Not specified
CVEs
CVE-2026-62866
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:11 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-62866

core-osv · Original source

Published 21 Sept 2026, 17:17 UTC

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.

osv:UBUNTU-CVE-2026-62866

dasel

Fixed versions: Not specified

dasel

Fixed versions: Not specified

dasel

Fixed versions: Not specified

Complete source record
{
  "id": "c9629a26d98295510c3fa8815ea11924beaa7814c9badce6641f50bacd4fbe72",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-62866",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-62866",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2026-62866",
    "products": [
      {
        "name": {
          "value": "dasel",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.6.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.6.0-1build1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.6.0-1ubuntu0.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.6.0-1ubuntu0.2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.6.0-1ubuntu0.2+esm1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.6.0-1ubuntu0.3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.6.0-1ubuntu0.3+esm1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.6.0-1ubuntu0.3+esm2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "dasel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.8.1-1build1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.11.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.11.2-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.11.2-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "dasel",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.8.1-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.8.1-1build1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-62866",
      "aliases": [
        "UBUNTU-CVE-2026-62866"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "dasel",
            "purl": "pkg:deb/ubuntu/dasel?arch=source&distro=esm-apps%2Fnoble",
            "ecosystem": "Ubuntu:Pro:24.04:LTS"
          },
          "versions": [
            "2.6.0-1",
            "2.6.0-1build1",
            "2.6.0-1ubuntu0.1",
            "2.6.0-1ubuntu0.2",
            "2.6.0-1ubuntu0.2+esm1",
            "2.6.0-1ubuntu0.3",
            "2.6.0-1ubuntu0.3+esm1",
            "2.6.0-1ubuntu0.3+esm2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-62866.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "dasel",
                "binary_version": "2.6.0-1ubuntu0.3+esm2"
              },
              {
                "binary_name": "golang-github-tomwright-dasel-dev",
                "binary_version": "2.6.0-1ubuntu0.3+esm2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "dasel",
            "purl": "pkg:deb/ubuntu/dasel?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "2.8.1-1build1",
            "3.11.0-1",
            "3.11.2-1",
            "3.11.2-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-62866.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "dasel",
                "binary_version": "3.11.2-2"
              },
              {
                "binary_name": "golang-github-tomwright-dasel-dev",
                "binary_version": "3.11.2-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "dasel",
            "purl": "pkg:deb/ubuntu/dasel?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "2.8.1-1",
            "2.8.1-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-62866.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "dasel",
                "binary_version": "2.8.1-1build1"
              },
              {
                "binary_name": "golang-github-tomwright-dasel-dev",
                "binary_version": "2.8.1-1build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:00:31.192689425Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-62866"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-62866",
        "https://www.cve.org/CVERecord?id=CVE-2026-62866",
        "https://github.com/TomWright/dasel/commit/eee03aec28d4a33d6138098d065b7b37b85e3c55",
        "https://github.com/TomWright/dasel/releases/tag/v3.11.2",
        "https://github.com/TomWright/dasel/security/advisories/GHSA-65gg-g7rw-6cpc"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-62866",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 360645,
  "published_at": "2026-09-21T17:17:00+00:00"
}