← Back to CVE search

CVE-2026-70626

NLTK

Description

NLTK versions before 3.9.4 contain a symlink escape vulnerability in CorpusReader.open() that allows local attackers to read arbitrary files outside the corpus root. The vulnerability exists because path validation is lexical and does not account for symlink resolution, enabling attackers to place symlinks inside the corpus root to access files outside the intended boundary.

CVSS 6.2EPSS 0.14300000000000002%Risk 0.63
View source
Published
2026-08-22 15:16:21
Affected versions
<3.9.4
Type
Library
Last modified
2026-08-24 20:16:56
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N