Shellfeed logo Shellfeed

CVE-2026-126304 · HIGH (CVSS 7.5)

Summary: NLTK 3.10.0 before 3.10.4 Symlink Escape in YCOECorpusReader

EPSS: 0.6% probability of exploitation in the next 30 days (percentile 50.3).

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.

Severity

HIGH (CVSS 7.5) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

  • PyPI nltk [3.10.0 – 3.10.4]
  • GIT github.com/nltk/nltk [bd49f9011d7dc8c6a36b3c4ae71f04060c9b3fb9 – 5c41fc04a45e95577a83f3914acda211a994be00]

References

Posts about CVE-2026-126304