Skip to content
Threat Brief

← All advisories

CVE-2026-126304

High 8.7No known exploitationFix available

NLTK 3.10.0 before 3.10.4 Symlink Escape in YCOECorpusReader

Vendor advisory: GHSA-qg35-44qx-7vrr

Record last updated

CVSS score

8.7

High on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.6%

Higher than 51% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

Description

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.

Weakness: CWE-59

Patching and mitigation

Patch status
Fix available (source: CVE record (VulnCheck))
Fix documented (source date)
Mitigation
None documented
Vendor guidance
github.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
Microsoftazl4 python-nltk 1:3.9.1-9.azl4 on Azure Linux 4.0Not documentedNot documentedMicrosoft MSRC
nltknltkfrom 3.10.0 before 3.10.43.10.4CVE Program
pipnltkfrom 3.10.0 up to and including 3.10.33.10.4GitHub Advisory Database
nltknltk (unaffected)3.10.4Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by VulnCheck

    Source: CVE Program (opens in a new tab)

  2. Advisory

    Microsoft advisory published

    Source: Microsoft MSRC (opens in a new tab)

  3. Advisory change

    Microsoft advisory revised (2.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  4. Patch

    Fix documented by CVE record (VulnCheck)

    Source: CVE record (VulnCheck) (opens in a new tab)

Vendor guidance and references