{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-62866",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-07-14T21:10:50.032Z",
        "datePublished": "2026-09-21T16:51:18.520Z",
        "dateUpdated": "2026-09-21T18:00:18.178Z"
    },
    "containers": {
        "cna": {
            "title": "Dasel: Selector lexer panics on trailing whitespace in `parseCurRune`",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-129",
                            "lang": "en",
                            "description": "CWE-129: Improper Validation of Array Index",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "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"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/TomWright/dasel/security/advisories/GHSA-65gg-g7rw-6cpc",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/TomWright/dasel/security/advisories/GHSA-65gg-g7rw-6cpc"
                },
                {
                    "name": "https://github.com/TomWright/dasel/commit/eee03aec28d4a33d6138098d065b7b37b85e3c55",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/TomWright/dasel/commit/eee03aec28d4a33d6138098d065b7b37b85e3c55"
                },
                {
                    "name": "https://github.com/TomWright/dasel/releases/tag/v3.11.2",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/TomWright/dasel/releases/tag/v3.11.2"
                }
            ],
            "affected": [
                {
                    "vendor": "TomWright",
                    "product": "dasel",
                    "versions": [
                        {
                            "version": ">= 3.0.0, < 3.11.2",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-09-21T16:55:00.169Z"
            },
            "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.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."
                }
            ],
            "source": {
                "advisory": "GHSA-65gg-g7rw-6cpc",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://github.com/TomWright/dasel/security/advisories/GHSA-65gg-g7rw-6cpc",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-09-21T17:59:52.863215Z",
                                "id": "CVE-2026-62866",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-09-21T18:00:18.178Z"
                }
            }
        ]
    }
}