Advisory record · GHSA-cv22-g7mw-8v73

NLTK 3.9.4 through 3.10.2 contains a path traversal vulnerability in CrubadanCorpusReader. _load_lang_ngrams joins the corpus root with crubadan_code, the column-0 value read from the corpus table....

CVSS 2.0 LowEPSS 0.0017 · 6th percentile

Published by the GitHub Advisory Database at 22 Aug 2026, 14:16 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
nltkPyPI>=3.9.4, <3.10.33.10.3
Identifiers
GHSA-cv22-g7mw-8v73 · CVE-2026-71514 · PYSEC-2026-3790
Weakness (CWE)
CWE-22
Published
22 Aug 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

NLTK versions 3.9.4 through 3.10.2 are vulnerable to path traversal in CrubadanCorpusReader. An attacker who controls a corpus package can read files outside the corpus directory through lang_freq, but only files whose names end in -3grams.txt and whose contents parse as token count lines. Upgrade to NLTK 3.10.3, which contains the fix. The source gives few details on the exact conditions beyond this.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
2.0 Low 4.0 CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0017, the 6th percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:10 UTC First seen by agentprime
  2. 31 Oct 2026, 14:10 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.