PyPI (Python)Worst: Critical101 advisories
nltk: known vulnerabilities
nltk has 101 reviewed security advisories in the GitHub Advisory Database — 8 critical, 62 high, 29 moderate, 2 low. The most recent was published 2026-11-16. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the nltk versions running across your servers, containers and images, and ranks what to patch first.
How to fix nltk
Upgrade nltk to a release at or above the fixed version shown for each advisory below. For PyPI (Python):
pip install --upgrade nltk (pin nltk>=3.10.4)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (101)
NLTK: Path Traversal in save_maxent_params / load_maxent_params Allow Arbitrary File READ/WRITE
Moderate CWE-22
— Affected: before 3.10.4. Fixed in 3.10.4. Published 2026-11-16. GHSA-59f9-gqg8-mqpj · CVE-2026-126296
NLTK: Symlink escape in chat80.sql_query bypasses the pathsec data-root sandbox to read out-of-root SQLite databases
Moderate 6.5 CWE-22 CWE-59
— Affected: from 3.9.4 up to 3.10.4. Fixed in 3.10.4. Published 2026-11-16. GHSA-xmfg-f9cm-w86q · CVE-2026-126302
NLTK: Quadratic-time CPU denial of service in CCG lexicon parser (fromstring) on wide bracket bodies and operator chains
High 7.5 CWE-400 CWE-407
— Affected: before 3.10.4. Fixed in 3.10.4. Published 2026-11-14. GHSA-89p3-fcch-88ph · CVE-2026-126299
NLTK: Quadratic-time CPU denial of service in Tree.chomsky_normal_form right-factor binarization via list.pop(0)
High 7.5 CWE-400 CWE-407
— Affected: before 3.10.4. Fixed in 3.10.4. Published 2026-11-14. GHSA-r53h-rw34-8h97 · CVE-2026-126298
NLTK: Quadratic-time CPU denial of service in ConllCorpusReader SRL instance builder via nested span rescan
High 7.5 CWE-400 CWE-407
— Affected: before 3.10.4. Fixed in 3.10.4. Published 2026-11-14. GHSA-v8f3-6phw-6mh9 · CVE-2026-126297
Duplicate Advisory: Unbounded CPU consumption in NLTK SteppingRecursiveDescentParser.parse() with ambiguous or self-embedding grammars
High 7.5 CWE-400
— Affected: up to and including 3.10.3. No fixed release is listed. Published 2026-11-13. GHSA-4hvg-fv5c-9936
Duplicate Advisory: Quadratic-time CPU denial of service in Tree.chomsky_normal_form right-factor binarization via list.pop(0)
High 7.5 CWE-400
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-11-13. GHSA-6665-2vj3-h76r
NLTK dot2img runs Graphviz 'dot' without the trusted-exec chokepoint, enabling local code execution via a writable PATH element
High 7.8 CWE-426 CWE-427
— Affected: before 3.10.4. Fixed in 3.10.4. Published 2026-11-13. GHSA-7mxv-7h3q-9324 · CVE-2026-128134
Duplicate Advisory: Symlink escape in YCOECorpusReader lets a psd/pos directory symlink read files outside the corpus root within the data sandbox
High 7.5 CWE-59
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-11-13. GHSA-7r4r-6ppg-7ff8
NLTK: Unbounded CPU consumption in SteppingRecursiveDescentParser.parse() with ambiguous or self-embedding grammars
High 7.5 CWE-400 CWE-407
— Affected: before 3.10.4. Fixed in 3.10.4. Published 2026-11-13. GHSA-8fx7-8jr8-84rv · CVE-2026-126303
Duplicate Advisory: BllipParser passes caller-supplied model paths to the bllipparser C extension with no pathsec check, enabling arbitrary read
High 6.8 CWE-22
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-11-13. GHSA-f7j6-hf97-9v99
NLTK: Quadratic CPU exhaustion in TreebankWordTokenizer.span_tokenize via list.pop(0) in quote-restore loop
Moderate 5.3 CWE-400 CWE-407
— Affected: from 3.2.5 up to 3.10.4. Fixed in 3.10.4. Published 2026-11-13. GHSA-ffr9-mgrr-wcvr · CVE-2026-126300
NLTK: BllipParser passes caller-supplied model paths to the bllipparser C extension with no pathsec check, enabling arbitrary read
Moderate 6.8 CWE-22 CWE-400 CWE-73
— Affected: from 3.10.0 up to 3.10.4. Fixed in 3.10.4. Published 2026-11-13. GHSA-fg9w-wfp5-j933 · CVE-2026-126295
Duplicate Advisory: Path Traversal in save_maxent_params / load_maxent_params Allow Arbitrary File READ/WRITE
Moderate 4.8 CWE-73
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-11-13. GHSA-g5wx-957h-f4wj
NLTK: Quadratic CPU exhaustion in LegalitySyllableTokenizer.tokenize via unguarded onset reversal loop
Moderate 5.3 CWE-400 CWE-407
— Affected: from 3.6 up to 3.10.4. Fixed in 3.10.4. Published 2026-11-13. GHSA-gpwc-27cw-rh9r · CVE-2026-126301
Duplicate Advisory: Quadratic-time CPU denial of service in NLTK CCG lexicon parser (fromstring) on wide bracket bodies and operator chains
High 7.5 CWE-400
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-11-13. GHSA-jh6r-h4rx-2j3w
NLTK: Symlink escape in YCOECorpusReader lets a psd/pos directory symlink read files outside the corpus root within the data sandbox
High 7.5 CWE-59
— Affected: from 3.10.0 up to 3.10.4. Fixed in 3.10.4. Published 2026-11-13. GHSA-qg35-44qx-7vrr · CVE-2026-126304
Duplicate Advisory: Quadratic-time CPU denial of service in ConllCorpusReader SRL instance builder via nested span rescan
High 7.5 CWE-400
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-11-13. GHSA-qvhx-rvgc-jhwf
Duplicate Advisory: Quadratic CPU exhaustion in TreebankWordTokenizer.span_tokenize via list.pop(0) in quote-restore loop
Moderate 5.3 CWE-407
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-11-13. GHSA-rg32-vgf9-927c
Duplicate Advisory: Symlink escape in chat80.sql_query bypasses the pathsec data-root sandbox to read out-of-root SQLite databases
Moderate 3.3 CWE-59
— Affected: 3.9.4 through 3.10.3. No fixed release is listed. Published 2026-11-13. GHSA-w2j9-qh3j-4h63
Duplicate Advisory: Quadratic CPU exhaustion in LegalitySyllableTokenizer.tokenize via unguarded onset reversal loop
Moderate 5.3 CWE-407
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-11-13. GHSA-x4p7-2mv3-x7px
NLTK: WekaClassifier passes an unvalidated caller-controlled model path to the weka JVM, bypassing nltk.pathsec containment
High 8.6 CWE-22 CWE-73
— Affected: before 3.10.4. Fixed in 3.10.4. Published 2026-10-27. GHSA-j456-xh4h-cpf2 · CVE-2026-109956
NLTK: Corpus Reader Sandbox Bypass
High CWE-73
— Affected: before 3.10.3. Fixed in 3.10.3. Published 2026-09-08. GHSA-3gq4-3j92-5w49 · CVE-2026-79674
NLTK: Symlink-based arbitrary file read in IPIPANCorpusReader, bypasses nltk.pathsec entirely
Moderate 5.5 CWE-22 CWE-59
— Affected: from 3.10.0 up to 3.10.2. Fixed in 3.10.2. Published 2026-09-08. GHSA-3hhw-38pf-pxj6 · CVE-2026-62383
NLTK: Stable FrameNet and NKJP readers parse outside-root XML
High 5.9 CWE-22 CWE-706 CWE-73
— Affected: before 3.10.0. Fixed in 3.10.0. Published 2026-09-08. GHSA-568f-pv23-39p4 · CVE-2026-62385
NLTK: Missing Post-Download Integrity Verification Allows Malicious Package Injection
Moderate 5.3 CWE-494
— Affected: before 3.9.3. Fixed in 3.9.3. Published 2026-09-08. GHSA-5wp5-5229-5g6q · CVE-2026-12259
NLTK: pathsec SSRF protection can be bypassed when a proxy is configured
High CWE-441 CWE-918
— Affected: before 3.10.3. Fixed in 3.10.3. Published 2026-09-08. GHSA-6ww7-3frv-cqxh · CVE-2026-78682
NLTK: FileSystemPathPointer.open() sandbox check is dead code — arbitrary file read via file:// protocol
Moderate 6.5 CWE-284
— Affected: before 3.10.0. Fixed in 3.10.0. Published 2026-09-08. GHSA-72r2-7mfr-5xr9 · CVE-2026-65915
NLTK: Pl196xCorpusReader has quadratic ReDoS on malformed TEI blocks
Moderate CWE-1333 CWE-400
— Affected: before 3.10.3. Fixed in 3.10.3. Published 2026-09-08. GHSA-8mpw-7fpc-4gqj · CVE-2026-81725
NLTK: Entity-expansion DoS (billion laughs) via remaining raw ElementTree parses
High CWE-776
— Affected: before 3.10.3. Fixed in 3.10.3. Published 2026-09-08. GHSA-97qj-x29f-37w7 · CVE-2026-78681
NLTK: Symlink-based sandbox bypass in FramenetCorpusReader (bypasses the fix for CVE-2026-54292)
High 7.5 CWE-22 CWE-59
— Affected: from 3.10.0 up to 3.10.2. Fixed in 3.10.2. Published 2026-09-08. GHSA-f833-7jw8-xwrv · CVE-2026-62384
NLTK: Corpus readers follow symlinks outside trusted roots despite pathsec enforcement
High CWE-22 CWE-59
— Affected: before 3.10.3. Fixed in 3.10.3. Published 2026-09-08. GHSA-p4rw-rvv2-7xwr · CVE-2026-79676
NLTK: Symlink escape in CorpusReader allows arbitrary local file read outside the corpus root
High 6.2 CWE-59
— Affected: before 3.9.4. Fixed in 3.9.4. Published 2026-09-08. GHSA-r6gq-whwq-mvg9 · CVE-2026-70626
NLTK: Unsafe Pickle Deserialization in TransitionParser Allows Remote Code Execution
Critical CWE-502
— Affected: before 3.10.0. Fixed in 3.10.0. Published 2026-09-08. GHSA-rhp5-r9x4-f5g2 · CVE-2026-78683
NLTK: ReDoS in nltk.text.Text.findall() via unvalidated user-supplied regular expressions
High 7.5 CWE-1333
— Affected: before 3.10.0. Fixed in 3.10.0. Published 2026-09-08. GHSA-rrv8-h7p8-rx55 · CVE-2026-80205
NLTK: ReDoS in nltk.tgrep via unvalidated user-supplied regular expressions
High CWE-1333
— Affected: before 3.10.3. Fixed in 3.10.3. Published 2026-09-08. GHSA-w3v8-gmh9-3wv7 · CVE-2026-80206
NLTK: StreamBackedCorpusView Bypasses pathsec.ENFORCE - Arbitrary Local File Read
High CWE-22
— Affected: before 3.10.0. Fixed in 3.10.0. Published 2026-09-08. GHSA-x5ph-mj9p-rfr8 · CVE-2026-63312
NLTK: Allowlisted pickle loaders still permit code execution in current source
Critical CWE-502 CWE-693
— Affected: before 3.10.3. Fixed in 3.10.3. Published 2026-09-08. GHSA-x99w-6fgc-pmfw · CVE-2026-79657
NLTK: SSRF Fail-Open in validate_network_url() via DNS Resolution Failure
Moderate CWE-918
— Affected: before 3.10.0. Fixed in 3.10.0. Published 2026-09-02. GHSA-3gqm-fcw5-w839 · CVE-2026-63311
NLTK: Model-artifact APIs bypass pathsec and touch files outside allowed roots
High 7.0 CWE-22 CWE-59 CWE-73
— Affected: before 3.10.4. Fixed in 3.10.4. Published 2026-09-02. GHSA-8mgp-746c-j5xp · CVE-2026-81726
NLTK: Uncontrolled recursion in nltk.featstruct.FeatStructReader causes unhandled RecursionError (DoS) via deeply nested feature-structure input
Moderate 5.3 CWE-674
— Affected: before 3.10.3. Fixed in 3.10.3. Published 2026-09-02. GHSA-cw6x-m8jw-qmrh · CVE-2026-81724
NLTK: Downloader.download follows hardlinks and overwrites outside-root files
Moderate 7.1 CWE-59 CWE-61 CWE-73
— Affected: before 3.10.3. Fixed in 3.10.3. Published 2026-09-02. GHSA-f794-5jv7-7672 · CVE-2026-81727
NLTK: Uncontrolled resource consumption in RecursiveDescentParser via ambiguous or left-recursive grammars
Moderate CWE-407 CWE-674
— Affected: before 3.10.3. Fixed in 3.10.3. Published 2026-09-02. GHSA-ff5c-cp5c-9wjf · CVE-2026-12876
NLTK: Default ENFORCE=False Disables All pathsec Security Controls
High CWE-1188
— Affected: before 3.10.0. Fixed in 3.10.0. Published 2026-09-02. GHSA-p3m8-78j2-g5p3 · CVE-2026-62388
NLTK: Quadratic CPU Exhaustion in `XMLCorpusView._read_xml_fragment()`
Moderate 3.7 CWE-400 CWE-407
— Affected: before 3.10.3. Fixed in 3.10.3. Published 2026-09-02. GHSA-vp2x-qp44-57v7 · CVE-2026-81723
NLTK: Quadratic-time DoS in PorterStemmer via long runs of 'y'
Moderate CWE-407
— Affected: before 3.10.3. Fixed in 3.10.3. Published 2026-09-02. GHSA-ww6m-cw3f-q94g · CVE-2026-81722
NLTK: Uncontrolled search path when invoking the Graphviz 'dot' binary
High 7.8 CWE-426 CWE-427
— Affected: before 3.10.3. Fixed in 3.10.3. Published 2026-09-01. GHSA-6hwm-xvph-95vm · CVE-2026-78680
NLTK: JVM argument injection bypass via per-call options in the NLTK Stanford wrappers (incomplete fix of CVE-2026-12841)
Critical 9.8 CWE-88
— Affected: before 3.10.3. Fixed in 3.10.3. Published 2026-09-01. GHSA-m4rf-3fr8-xwx3 · CVE-2026-79675
Duplicate Advisory: Pl196xCorpusReader has quadratic ReDoS on malformed TEI blocks
Moderate 3.7 CWE-400
— Affected: up to and including 3.10.2. No fixed release is listed. Published 2026-08-27. GHSA-3m7f-6hxv-6796
Duplicate Advisory: Downloader.download follows hardlinks and overwrites outside-root files
Moderate 7.1 CWE-59
— Affected: up to and including 3.10.2. No fixed release is listed. Published 2026-08-27. GHSA-4xw3-jf9x-x7mf
Duplicate Advisory: Quadratic-time DoS in PorterStemmer via long runs of 'y'
High 7.5 CWE-407
— Affected: up to and including 3.10.2. No fixed release is listed. Published 2026-08-27. GHSA-8x48-8g7j-rqxp
Duplicate Advisory: Model-artifact APIs bypass pathsec and touch files outside allowed roots
High 7.0 CWE-73
— Affected: up to and including 3.10.3. No fixed release is listed. Published 2026-08-27. GHSA-hqj7-phwp-c3fp
Duplicate Advisory: Quadratic CPU Exhaustion in `XMLCorpusView._read_xml_fragment()`
Moderate 3.7 CWE-400
— Affected: up to and including 3.10.2. No fixed release is listed. Published 2026-08-27. GHSA-hqv3-xm29-p9hq
Duplicate Advisory: Uncontrolled recursion in nltk.featstruct.FeatStructReader causes unhandled RecursionError (DoS) via deeply nested feature-structure input
Moderate 5.3 CWE-674
— Affected: up to and including 3.10.2. No fixed release is listed. Published 2026-08-27. GHSA-pf76-q698-37v8
Duplicate Advisory: ReDoS in nltk.text.Text.findall() via unvalidated user-supplied regular expressions
High 7.5 CWE-1333
— Affected: up to and including 3.9.4. No fixed release is listed. Published 2026-08-26. GHSA-2rrw-hpqm-36pv
Duplicate Advisory: ReDoS in nltk.tgrep via unvalidated user-supplied regular expressions
High 5.9 CWE-1333
— Affected: up to and including 3.10.2. No fixed release is listed. Published 2026-08-26. GHSA-vf76-f5cp-9846
Duplicate Advisory: JVM argument injection bypass via per-call options in the NLTK Stanford wrappers (incomplete fix of CVE-2026-12841)
Critical 9.8 CWE-88
— Affected: up to and including 3.10.2. No fixed release is listed. Published 2026-08-25. GHSA-3h2g-j4wp-7qqq
Duplicate Advisory: Uncontrolled search path when invoking the Graphviz 'dot' binary (CWE-426/CWE-427)
High 7.8 CWE-426
— Affected: up to and including 3.10.2. No fixed release is listed. Published 2026-08-25. GHSA-54xp-3ww7-6wjg
Duplicate Advisory: pathsec SSRF protection can be bypassed when a proxy is configured
High 7.5 CWE-918
— Affected: up to and including 3.10.2. No fixed release is listed. Published 2026-08-25. GHSA-crp9-r7rq-c8cg
Duplicate Advisory: [CWE-502] Unsafe Pickle Deserialization in TransitionParser Allows Remote Code Execution
Critical 9.6 CWE-502
— Affected: up to and including 3.9.4. No fixed release is listed. Published 2026-08-25. GHSA-gx65-c5hj-vpv5
Duplicate Advisory: Entity-expansion DoS (billion laughs) via remaining raw ElementTree parses (CWE-776)
High 7.5 CWE-776
— Affected: up to and including 3.10.2. No fixed release is listed. Published 2026-08-25. GHSA-jx89-3qg8-p2mr
Duplicate Advisory: NLTK: Corpus Reader Sandbox Bypass
High 8.2 CWE-73
— Affected: up to and including 3.10.2. No fixed release is listed. Published 2026-08-25. GHSA-rcw8-9qrw-27m2
Duplicate Advisory: Allowlisted pickle loaders still permit code execution in current source
Critical 9.8 CWE-502
— Affected: up to and including 3.10.2. No fixed release is listed. Published 2026-08-25. GHSA-vp9c-2pjm-8925
Duplicate Advisory: Corpus readers follow symlinks outside trusted roots despite pathsec enforcement
High 5.9 CWE-22
— Affected: up to and including 3.10.2. No fixed release is listed. Published 2026-08-25. GHSA-w5q8-6jpp-4246
Duplicate Advisory: NLTK: Symlink-based arbitrary file read in IPIPANCorpusReader, bypasses nltk.pathsec entirely
Moderate 5.5 CWE-22
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-08-22. GHSA-343m-9fqq-97c7
NLTK AllowlistUnpickler dotted-name validation bypass allows remote code execution
High 8.8 CWE-502
— Affected: from 3.10.0 up to 3.10.3. Fixed in 3.10.3. Published 2026-08-22. GHSA-5gh2-94qg-qppq · CVE-2026-71513
Duplicate Advisory: FileSystemPathPointer.open() sandbox check is dead code — arbitrary file read via file:// protocol
High 6.5 CWE-284
— Affected: up to and including 3.9.3. No fixed release is listed. Published 2026-08-22. GHSA-79ph-w9m5-4v5m
Duplicate Advisory: Symlink escape in CorpusReader allows arbitrary local file read outside the corpus root
High 6.2 CWE-59
— Affected: up to and including 3.9.3. No fixed release is listed. Published 2026-08-22. GHSA-8h9m-22mv-qv5r
Duplicate Advisory: [CWE-1188] Default ENFORCE=False Disables All pathsec Security Controls
High 7.5 CWE-1188
— Affected: up to and including 3.9.4. No fixed release is listed. Published 2026-08-22. GHSA-8vh5-mgjj-w6hg
Duplicate Advisory: Security Report: StreamBackedCorpusView Bypasses pathsec.ENFORCE - Arbitrary Local File Read
High 7.5 CWE-22
— Affected: up to and including 3.9.4. No fixed release is listed. Published 2026-08-22. GHSA-8w48-h75v-cxpv
NLTK CrubadanCorpusReader path traversal allows arbitrary file disclosure
Low 2.5 CWE-22
— Affected: from 3.9.4 up to 3.10.3. Fixed in 3.10.3. Published 2026-08-22. GHSA-cv22-g7mw-8v73 · CVE-2026-71514
Duplicate Advisory: Natural Language Toolkit (NLTK) has unbounded recursion in JSONTaggedDecoder.decode_obj() may cause DoS
High 7.5 CWE-674
— Affected: up to and including 3.9.3. No fixed release is listed. Published 2026-08-22. GHSA-cv2g-m8rr-888c
Duplicate Advisory: NLTK: Missing Post-Download Integrity Verification Allows Malicious Package Injection
Critical 7.1 CWE-494
— Affected: up to and including 3.9.2. No fixed release is listed. Published 2026-08-22. GHSA-gf32-cmjh-8m9v · CVE-2026-12259
Duplicate Advisory: nltk: SSRF Fail-Open in validate_network_url() via DNS Resolution Failure
Moderate 5.3 CWE-918
— Affected: up to and including 3.9.4. No fixed release is listed. Published 2026-08-22. GHSA-qg9p-xrhj-435m
Duplicate Advisory: Stable FrameNet and NKJP readers parse outside-root XML in 3.9.4
High 5.9 CWE-73
— Affected: up to and including 3.9.4. No fixed release is listed. Published 2026-08-22. GHSA-qp76-pq9f-gr9m
Duplicate Advisory: Symlink-based sandbox bypass in FramenetCorpusReader (bypasses the fix for CVE-2026-54292)
High 7.5 CWE-22
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-08-22. GHSA-qq3h-cgj8-w3fx
NLTK TweetTokenizer vulnerable to denial of service through catastrophic regex backtracking
High 7.5 CWE-1333
— Affected: before 3.10.1. Fixed in 3.10.1. Published 2026-08-20. GHSA-qx2g-xrx7-vfh8 · CVE-2026-72818
nltk: Arbitrary File Read via Path Traversal in nltk.data.load() through Percent-Encoded Sequences
High 7.5 CWE-22
— Affected: before 3.10.0. Fixed in 3.10.0. Published 2026-08-13. GHSA-m42h-3232-vpv3 · CVE-2026-12243
NLTK network URL validation permits SSRF to RFC 6598 shared-address-space hosts
Low 3.7 CWE-918
— Affected: before 3.10.0. Fixed in 3.10.0. Published 2026-08-09. GHSA-2jhm-w3mp-jcwr · CVE-2026-12372
NLTK downloader allows cross-package resource and model poisoning
Moderate 5.3 CWE-284
— Affected: before 3.10.0. Fixed in 3.10.0. Published 2026-08-07. GHSA-ffj6-66c4-86gw · CVE-2026-12261
Duplicate Advisory: NLTK: Missing Post-Download Integrity Verification Allows Malicious Package Injection
Moderate 5.3 CWE-494
— Affected: up to and including 3.9.2. No fixed release is listed. Published 2026-08-03. GHSA-pv39-qrfq-g8gc
NLTK vulnerable to Eval Injection via collocations CLI arguments
High 7.8 CWE-95
— Affected: before 3.9.3. Fixed in 3.9.3. Published 2026-07-24. GHSA-848c-c2cx-j7qx · CVE-2025-71408
NLTK Stanford wrapper classes execute untrusted JAR files without verification
High 7.8 CWE-94
— Affected: before 3.9.4. Fixed in 3.9.4. Published 2026-07-04. GHSA-9r6g-266r-89x4 · CVE-2026-12252
Duplicate Advisory: Arbitrary File Read via Path Traversal in nltk.data.load() through Percent-Encoded Sequences
High 7.5 CWE-22
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-06-30. GHSA-q5h6-fcf5-49g9
Natural Language Toolkit (NLTK): URL-Encoded Path Traversal in nltk.data.load() Allows Arbitrary Local File Read
High 7.5 CWE-22
— Affected: before 3.10.0. Fixed in 3.10.0. Published 2026-06-22. GHSA-p4gq-832x-fm9v · CVE-2026-54293
Natural Language Toolkit (NLTK): Path Traversal in NKJPCorpusReader leads to Arbitrary File Read and bypasses the nltk.pathsec sandbox (ENFORCE=True)
High 7.5 CWE-22
— Affected: before 3.10.0. Fixed in 3.10.0. Published 2026-06-15. GHSA-6hm5-jgcp-p838 · CVE-2026-12072
Natural Language Toolkit (NLTK): ReDoS in NLTK ReviewsCorpusReader FEATURES regex
High 7.5 CWE-1333
— Affected: before 3.10.0. Fixed in 3.10.0. Published 2026-06-15. GHSA-fg7f-2386-8897 · CVE-2026-12061
Natural Language Toolkit (NLTK): DNS-rebinding SSRF filter bypass in nltk.pathsec.urlopen (nltk.download / nltk.data.load) defeats ENFORCE mode
High 8.6 CWE-918
— Affected: before 3.10.0. Fixed in 3.10.0. Published 2026-06-15. GHSA-qvv7-cg9c-w4x3 · CVE-2026-12075
Natural Language Toolkit (NLTK) has path traversal in FramenetCorpusReader.frame() that allows arbitrary XML file read, bypassing the nltk.pathsec sandbox (ENFORCE=True)
High 7.5 CWE-22
— Affected: before 3.10.0. Fixed in 3.10.0. Published 2026-06-15. GHSA-xh95-f55m-82fw · CVE-2026-12074
NLTK has a Downloader Path Traversal Vulnerability (AFO) - Arbitrary File Overwrite
High 8.1 CWE-22
— Affected: before 3.9.4. Fixed in 3.9.4. Published 2026-03-20. GHSA-469j-vmhf-r6v7 · CVE-2026-33236
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in nltk
Moderate 6.1 CWE-79
— Affected: before 3.9.4. Fixed in 3.9.4. Published 2026-03-20. GHSA-gfwx-w7gr-fvh7 · CVE-2026-33230
Unauthenticated remote shutdown in nltk.app.wordnet_app
High 7.5 CWE-306
— Affected: before 3.9.4. Fixed in 3.9.4. Published 2026-03-20. GHSA-jm6w-m3j8-898g · CVE-2026-33231
Natural Language Toolkit (NLTK) has unbounded recursion in JSONTaggedDecoder.decode_obj() may cause DoS
Moderate CWE-674
— Affected: before 3.9.4. Fixed in 3.9.4. Published 2026-03-18. GHSA-rf74-v2fm-23pw · CVE-2026-66393
NLTK has Arbitrary File Read via Absolute Path Input in nltk.util.filestring()
High 8.6 CWE-36
— Affected: before 3.9.3. Fixed in 3.9.3. Published 2026-03-09. GHSA-h8wq-7xc4-p3qx · CVE-2026-0846
NLTK has a Path Traversal issue
High 8.6 CWE-22
— Affected: before 3.9.3. Fixed in 3.9.3. Published 2026-03-04. GHSA-68j8-pq59-fqgm · CVE-2026-0847
NLTK has a Zip Slip Vulnerability
Critical 10.0 CWE-94
— Affected: before 3.9.3. Fixed in 3.9.3. Published 2026-02-18. GHSA-7p94-766c-hgjp · CVE-2025-14009
ntlk unsafe deserialization vulnerability
High 7.5 CWE-300 CWE-502
— Affected: before 3.9. Fixed in 3.9. Published 2024-06-27. GHSA-cgvx-9447-vcch · CVE-2024-39705
NLTK Vulnerable to REDoS
High 7.5 CWE-1333
— Affected: before 3.6.6. Fixed in 3.6.6. Published 2022-01-04. GHSA-rqjh-jp2r-59cj · CVE-2021-3842
Inefficient Regular Expression Complexity in nltk (word_tokenize, sent_tokenize)
High 7.5 CWE-400
— Affected: before 3.6.6. Fixed in 3.6.6. Published 2021-12-23. GHSA-f8m6-h2c7-8h9x · CVE-2021-43854
NLTK Vulnerable to REDoS
High 7.5 CWE-1333 CWE-697
— Affected: before 3.6.4. Fixed in 3.6.4. Published 2021-09-27. GHSA-2ww3-fxvq-293j · CVE-2021-3828
NLTK Vulnerable To Path Traversal
High 7.5 CWE-22
— Affected: before 3.4.5. Fixed in 3.4.5. Published 2019-08-22. GHSA-mr7p-25v2-35wr · CVE-2019-14751
Find nltk across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.