Dependency scanning
Check whether nltk is in your codebase
Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.
Vulnerabilities
CVE-2026-128137
NLTK corpus-reader view methods bypass the scoped root sandbox via intermediate-directory symlinks
CVE-2026-128138
NLTK incomplete fix: additional JVM/JAR sandbox bypass through unvalidated launcher tokens in java() command arguments
CVE-2026-128135
NLTK: ZIP package extraction follows in-root hardlinks and overwrites files outside the NLTK data root
CVE-2026-128136
NLTK: AllowlistUnpickler does not deny numpy submodule-local file-I/O sinks
CVE-2026-129232
NLTK: Quadratic CPU exhaustion in NLTK XMLCorpusView.read_block via deeply nested XML corpus tags
CVE-2026-129228
NLTK: Uncontrolled recursion in Toolbox settings helpers causes denial of service via deeply nested input
CVE-2026-129223
Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in Synset.tree()/acyclic_tree() via WordNet relation traversal
CVE-2026-129233
NLTK: StreamBackedCorpusView constructor os.stat leaks out-of-root file existence, size, and mtime bypassing pathsec ENFORCE
CVE-2026-129229
NLTK: Compile-time regex DoS in NLTK search/tokenizer sinks: quadratic regex-engine compile bypasses the match-only timeout
CVE-2026-129221
NLTK: ARFF_Formatter Injects Weka ARFF Schema Directives via Attacker-Controlled Class Labels
CVE-2026-129226
NLTK: Uncontrolled recursion in semantic-logic type parser causes denial of service via nested type strings
CVE-2026-129231
NLTK: Quadratic-time DoS in SeekableUnicodeStreamReader.readline on an unterminated corpus line via per-iteration full-buffer rescan
CVE-2026-129225
NLTK: Uncontrolled recursion in DependencyGraph traversal causes denial of service via deep dependency chains
CVE-2026-129224
NLTK: Uncontrolled recursion in CCG lexicon parser causes denial of service via deeply nested category input
CVE-2026-129227
NLTK: Uncontrolled recursion in Tree.fromlist causes denial of service via deeply nested list input
CVE-2026-129234
NLTK: Untrusted search path in prover9/mace4 config allows local code execution via relative binary_location
CVE-2026-129230
NLTK: Uncontrolled recursion in WordNet Synset hypernym walkers (max_depth/min_depth/hypernym_paths/hypernym_distances) causes DoS
CVE-2026-129222
Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in DependencyGraph.tree()/triples()
CVE-2026-128140
NLTK: Downloader cyclic collection indices cause an infinite closure walk
CVE-2026-128139
NLTK: XMLCorpusView comment and CDATA parsing permits quadratic CPU denial of service
CVE-2026-126303
NLTK: Unbounded CPU consumption in SteppingRecursiveDescentParser.parse() with ambiguous or self-embedding grammars
CVE-2026-128134
NLTK dot2img runs Graphviz 'dot' without the trusted-exec chokepoint, enabling local code execution via a writable PATH element
CVE-2026-126296
NLTK: Path Traversal in save_maxent_params / load_maxent_params Allow Arbitrary File READ/WRITE
GHSA-x4p7-2mv3-x7px
Duplicate Advisory: Quadratic CPU exhaustion in LegalitySyllableTokenizer.tokenize via unguarded onset reversal loop
GHSA-w2j9-qh3j-4h63
Duplicate Advisory: Symlink escape in chat80.sql_query bypasses the pathsec data-root sandbox to read out-of-root SQLite databases
CVE-2026-126302
NLTK: Symlink escape in chat80.sql_query bypasses the pathsec data-root sandbox to read out-of-root SQLite databases
CVE-2026-126301
NLTK: Quadratic CPU exhaustion in LegalitySyllableTokenizer.tokenize via unguarded onset reversal loop
CVE-2026-126298
NLTK: Quadratic-time CPU denial of service in Tree.chomsky_normal_form right-factor binarization via list.pop(0)
CVE-2026-126299
NLTK: Quadratic-time CPU denial of service in CCG lexicon parser (fromstring) on wide bracket bodies and operator chains
CVE-2026-126297
NLTK: Quadratic-time CPU denial of service in ConllCorpusReader SRL instance builder via nested span rescan
GHSA-qvhx-rvgc-jhwf
Duplicate Advisory: Quadratic-time CPU denial of service in ConllCorpusReader SRL instance builder via nested span rescan
GHSA-6665-2vj3-h76r
Duplicate Advisory: Quadratic-time CPU denial of service in Tree.chomsky_normal_form right-factor binarization via list.pop(0)
GHSA-f7j6-hf97-9v99
Duplicate Advisory: BllipParser passes caller-supplied model paths to the bllipparser C extension with no pathsec check, enabling arbitrary read
CVE-2026-126295
NLTK: BllipParser passes caller-supplied model paths to the bllipparser C extension with no pathsec check, enabling arbitrary read
GHSA-jh6r-h4rx-2j3w
Duplicate Advisory: Quadratic-time CPU denial of service in NLTK CCG lexicon parser (fromstring) on wide bracket bodies and operator chains
GHSA-g5wx-957h-f4wj
Duplicate Advisory: Path Traversal in save_maxent_params / load_maxent_params Allow Arbitrary File READ/WRITE
GHSA-rg32-vgf9-927c
Duplicate Advisory: Quadratic CPU exhaustion in TreebankWordTokenizer.span_tokenize via list.pop(0) in quote-restore loop
CVE-2026-126300
NLTK: Quadratic CPU exhaustion in TreebankWordTokenizer.span_tokenize via list.pop(0) in quote-restore loop
CVE-2026-126304
NLTK: Symlink escape in YCOECorpusReader lets a psd/pos directory symlink read files outside the corpus root within the data sandbox
GHSA-4hvg-fv5c-9936
Duplicate Advisory: Unbounded CPU consumption in NLTK SteppingRecursiveDescentParser.parse() with ambiguous or self-embedding grammars
GHSA-7r4r-6ppg-7ff8
Duplicate Advisory: Symlink escape in YCOECorpusReader lets a psd/pos directory symlink read files outside the corpus root within the data sandbox
CVE-2026-33236
NLTK has a Downloader Path Traversal Vulnerability (AFO) - Arbitrary File Overwrite
CVE-2026-0847
NLTK has a Path Traversal issue
CVE-2026-81726
NLTK: Model-artifact APIs bypass pathsec and touch files outside allowed roots
CVE-2026-109956
NLTK: WekaClassifier passes an unvalidated caller-controlled model path to the weka JVM, bypassing nltk.pathsec containment
CVE-2026-12259
CVE-2026-12259
CVE-2026-12259
CVE-2026-12259
CVE-2026-12259
Duplicate Advisory: NLTK: Missing Post-Download Integrity Verification Allows Malicious Package Injection
CVE-2026-12259
NLTK: Missing Post-Download Integrity Verification Allows Malicious Package Injection
CVE-2026-12252
CVE-2026-12252
CVE-2026-12261
CVE-2026-12261
CVE-2026-12372
CVE-2026-12372
CVE-2026-12261
NLTK downloader allows cross-package resource and model poisoning
CVE-2026-12372
NLTK network URL validation permits SSRF to RFC 6598 shared-address-space hosts
CVE-2026-12252
NLTK Stanford wrapper classes execute untrusted JAR files without verification
CVE-2026-12876
NLTK: Uncontrolled resource consumption in RecursiveDescentParser via ambiguous or left-recursive grammars
CVE-2026-72818
NLTK TweetTokenizer vulnerable to denial of service through catastrophic regex backtracking
CVE-2026-81723
NLTK: Quadratic CPU Exhaustion in `XMLCorpusView._read_xml_fragment()`
CVE-2026-71513
NLTK AllowlistUnpickler dotted-name validation bypass allows remote code execution
CVE-2026-78680
NLTK: Uncontrolled search path when invoking the Graphviz 'dot' binary
CVE-2026-81723
NLTK: Quadratic CPU Exhaustion in `XMLCorpusView._read_xml_fragment()`
CVE-2026-12876
NLTK: Uncontrolled resource consumption in RecursiveDescentParser via ambiguous or left-recursive grammars
CVE-2026-72818
NLTK TweetTokenizer vulnerable to denial of service through catastrophic regex backtracking
CVE-2026-78680
NLTK: Uncontrolled search path when invoking the Graphviz 'dot' binary
CVE-2026-71513
NLTK AllowlistUnpickler dotted-name validation bypass allows remote code execution
CVE-2026-71514
CVE-2026-71514
CVE-2026-79675
NLTK: JVM argument injection bypass via per-call options in the NLTK Stanford wrappers (incomplete fix of CVE-2026-12841)
CVE-2026-81724
NLTK: Uncontrolled recursion in nltk.featstruct.FeatStructReader causes unhandled RecursionError (DoS) via deeply nested feature-structure input
CVE-2026-81727
NLTK: Downloader.download follows hardlinks and overwrites outside-root files
GHSA-cv2g-m8rr-888c
Duplicate Advisory: Natural Language Toolkit (NLTK) has unbounded recursion in JSONTaggedDecoder.decode_obj() may cause DoS
CVE-2026-71514
NLTK CrubadanCorpusReader path traversal allows arbitrary file disclosure
GHSA-8x48-8g7j-rqxp
Duplicate Advisory: Quadratic-time DoS in PorterStemmer via long runs of 'y'
GHSA-4xw3-jf9x-x7mf
Duplicate Advisory: Downloader.download follows hardlinks and overwrites outside-root files
CVE-2026-12072
Natural Language Toolkit (NLTK): Path Traversal in NKJPCorpusReader leads to Arbitrary File Read and bypasses the nltk.pathsec sandbox (ENFORCE=True)
CVE-2026-54293
Natural Language Toolkit (NLTK): URL-Encoded Path Traversal in nltk.data.load() Allows Arbitrary Local File Read
CVE-2026-81722
NLTK: Quadratic-time DoS in PorterStemmer via long runs of 'y'
GHSA-pf76-q698-37v8
Duplicate Advisory: Uncontrolled recursion in nltk.featstruct.FeatStructReader causes unhandled RecursionError (DoS) via deeply nested feature-structure input
GHSA-hqv3-xm29-p9hq
Duplicate Advisory: Quadratic CPU Exhaustion in `XMLCorpusView._read_xml_fragment()`
CVE-2026-12074
Natural Language Toolkit (NLTK) has path traversal in FramenetCorpusReader.frame() that allows arbitrary XML file read, bypassing the nltk.pathsec sandbox (ENFORCE=True)
CVE-2026-12075
Natural Language Toolkit (NLTK): DNS-rebinding SSRF filter bypass in nltk.pathsec.urlopen (nltk.download / nltk.data.load) defeats ENFORCE mode
CVE-2026-12061
Natural Language Toolkit (NLTK): ReDoS in NLTK ReviewsCorpusReader FEATURES regex
GHSA-q5h6-fcf5-49g9
Duplicate Advisory: Arbitrary File Read via Path Traversal in nltk.data.load() through Percent-Encoded Sequences
CVE-2026-66393
Natural Language Toolkit (NLTK) has unbounded recursion in JSONTaggedDecoder.decode_obj() may cause DoS
CVE-2026-33231
Unauthenticated remote shutdown in nltk.app.wordnet_app
CVE-2026-33230
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in nltk
CVE-2025-14009
NLTK has a Zip Slip Vulnerability
CVE-2024-39705
ntlk unsafe deserialization vulnerability
CVE-2026-81725
NLTK: Pl196xCorpusReader has quadratic ReDoS on malformed TEI blocks
CVE-2026-80205
NLTK: ReDoS in nltk.text.Text.findall() via unvalidated user-supplied regular expressions
CVE-2026-80206
NLTK: ReDoS in nltk.tgrep via unvalidated user-supplied regular expressions
GHSA-2rrw-hpqm-36pv
Duplicate Advisory: ReDoS in nltk.text.Text.findall() via unvalidated user-supplied regular expressions
CVE-2026-79674
NLTK: Corpus Reader Sandbox Bypass
CVE-2026-79657
NLTK: Allowlisted pickle loaders still permit code execution in current source
CVE-2026-79676
NLTK: Corpus readers follow symlinks outside trusted roots despite pathsec enforcement
CVE-2026-78683
NLTK: Unsafe Pickle Deserialization in TransitionParser Allows Remote Code Execution
CVE-2026-78681
NLTK: Entity-expansion DoS (billion laughs) via remaining raw ElementTree parses
CVE-2026-78682
NLTK: pathsec SSRF protection can be bypassed when a proxy is configured
CVE-2026-62384
NLTK: Symlink-based sandbox bypass in FramenetCorpusReader (bypasses the fix for CVE-2026-54292)
GHSA-qp76-pq9f-gr9m
Duplicate Advisory: Stable FrameNet and NKJP readers parse outside-root XML in 3.9.4
CVE-2026-62383
NLTK: Symlink-based arbitrary file read in IPIPANCorpusReader, bypasses nltk.pathsec entirely
Browse more PyPI advisories
Static Application Security Testing finds vulnerabilities like this one in source code before it ships. Read the guide →
Ready to move
Start Securing
Free, no credit card | First findings in minutes