{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.9.4"
                  },
                  {
                    "fixed": "3.10.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "3.9.4"
                  },
                  {
                    "fixed": "3.10.4"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "ad9c96ba00a16923ffe917eacf63f1707bfa2d08"
            },
            {
              "fixed": "5c41fc04a45e95577a83f3914acda211a994be00"
            }
          ],
          "repo": "https://github.com/nltk/nltk",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-xmfg-f9cm-w86q"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-59"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126302.json"
  },
  "details": "NLTK from 3.9.4 before 3.10.4 contains a symlink following vulnerability in nltk.sem.chat80.sql_query() that bypasses the pathsec data-root sandbox containment check. Attackers who can write into a trusted NLTK data root can plant a symbolic link to read SQLite databases outside the sandbox.",
  "id": "CVE-2026-126302",
  "modified": "2026-11-15T02:31:10.359136087Z",
  "published": "2026-11-13T09:36:24.559Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126302.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/nltk/nltk/security/advisories/GHSA-xmfg-f9cm-w86q"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126302"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/nltk-3.9.4-before-3.10.4-symlink-sandbox-escape-via-chat80-sql-query"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "NLTK 3.9.4 before 3.10.4 Symlink Sandbox Escape via chat80.sql_query"
}