Link Following Affecting nltk package, versions <3.10.0-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.21% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-NLTK-19233186
  • published23 Aug 2026
  • disclosed22 Aug 2026

Introduced: 22 Aug 2026

NewCVE-2026-70626  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade Debian:unstable nltk to version 3.10.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nltk package and not the nltk package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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 Base Scores

version 3.1