NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. From 3.9.4 until 3.10.4, NLTK corpus-reader path pointers and view methods validate a requested relative path without consistently resolving intermediate directory symlinks against the reader's scoped root. A local attacker who can place such a symlink can make abspaths or words reach a readable file outside the corpus root and disclose its contents. On releases with pathsec enforcement, the file must remain inside a global NLTK allowed root; version 3.9.4 has enforcement disabled and permits a broader escape. This issue is fixed in version 3.10.4.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-59"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128137.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "3.9.4"
},
{
"fixed": "3.10.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "9f7cf06b4af4ca5c65381ed0abc17e989dc54400"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v3.10.4",
"range": [
{
"fixed": "5c41fc04a45e95577a83f3914acda211a994be00"
}
],
"source": "REFERENCES_TAG"
}
]
}