NLTK 3.10.0 before 3.10.4 Symlink Escape in YCOECorpusReader

State
Published
Severity
8.7 High
Published
Nov 13, 2026
Updated
Nov 18, 2026
Reserved
Nov 10, 2026

Read the record on cve.org

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.

ProductVersions
nltk nltk3.10.0 to before 3.10.4 Affected3.10.4 Not Affected

Weaknesses

  • CWE-59 Improper Link Resolution Before File Access ('Link Following')

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.