{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.10.0"
                  },
                  {
                    "fixed": "3.10.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "3.10.0"
                  },
                  {
                    "fixed": "3.10.4"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "bd49f9011d7dc8c6a36b3c4ae71f04060c9b3fb9"
            },
            {
              "fixed": "5c41fc04a45e95577a83f3914acda211a994be00"
            }
          ],
          "repo": "https://github.com/nltk/nltk",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-qg35-44qx-7vrr"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-59"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126304.json"
  },
  "details": "NLTK from 3.10.0 before 3.10.4 contains a symlink escape vulnerability in YCOECorpusReader that allows attackers to read files outside the corpus root by planting psd or pos directory symlinks. Attackers controlling a YCOE corpus can make parsed_sents() and tagged_words() return file content from other corpora or temporary files within the NLTK data sandbox.",
  "id": "CVE-2026-126304",
  "modified": "2026-11-19T20:45:50.737244470Z",
  "published": "2026-11-13T09:36:23.105Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126304.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/nltk/nltk/security/advisories/GHSA-qg35-44qx-7vrr"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126304"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/nltk-3.10.0-before-3.10.4-symlink-escape-in-ycoecorpusreader"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "NLTK 3.10.0 before 3.10.4 Symlink Escape in YCOECorpusReader"
}