Sceawere

Vulnerability Detail

CVE-2026-62383UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV

NLTK IPIPANCorpusReader Symlink File Read

Vulnerability Metadata

Severity
Medium
Score / CVSS
5.5
Creation Date
4h ago
Vendor
nltk
Product
nltk
Attack Type
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack Complexity
LOW

Narrative and Response

Description

nltk versions before 3.10.2 contain a symlink-based arbitrary file read vulnerability in IPIPANCorpusReader methods that bypass nltk.pathsec validation entirely. Attackers can place a symlink in the corpus root directory and read arbitrary files accessible to the process by calling channels(), domains(), categories(), or fileids() methods with the symlink filename.

Executive Summary

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Executive Summary Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Technical Details

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Detailed Technical Analysis Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Mitigations

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Remediation & Mitigations Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

References

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Intelligence References Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Additional Metadata

{
  "score": "5.5",
  "pubDate": "2026-08-22T15:16:17.883Z",
  "pubdate": "2026-08-22T15:16:17.883Z",
  "executiveSummary": "A symlink-based arbitrary file read vulnerability exists in the IPIPANCorpusReader methods within Natural Language Toolkit (nltk) versions before 3.10.2.\nThe vulnerability allows malicious actors to completely bypass nltk.pathsec validation mechanisms.\nSuccessful exploitation enables unauthorized readers to read arbitrary files accessible to the running application process.\nThe affected systems include any deployment processing untrusted corpus data using vulnerable nltk versions.\nThe risk implications include potential exposure of sensitive system files, configuration data, or credentials depending on the process privileges.\nAttacker capabilities require the ability to place a symbolic link within the corpus root directory.\nExploitation is triggered when specific corpus methods are invoked with the crafted symlink filename.",
  "technicalDetails": "The root cause of the vulnerability lies in insufficient path validation and sanitization within the IPIPANCorpusReader methods of the nltk library.\nSpecifically, the methods channels(), domains(), categories(), and fileids() fail to properly validate target paths against symlink redirection, completely bypassing nltk.pathsec validation controls.\nThe vulnerable component is the IPIPANCorpusReader class and its associated corpus traversal methods handling file system interactions.\nAffected versions comprise all nltk versions prior to 3.10.2.\nThe attack flow begins when an attacker with write access, or through corpus provisioning mechanisms, places a symbolic link inside the corpus root directory pointing to an arbitrary target file on the host system.\nWhen an application processes the corpus and invokes methods such as channels(), domains(), categories(), or fileids() referencing the malicious symlink filename, the reader follows the symlink without adequate restriction.\nBecause path security checks implemented in nltk.pathsec are bypassed, the system processes the linked file as part of the corpus data structures.\nSubsequent read operations or data processing routines expose the contents of the arbitrary target file to the caller.\nAuthentication and privilege requirements depend entirely on the context in which the nltk application executes, requiring local file system access to plant the symlink and process execution privileges to read the target files.\nNetwork exposure is indirect, typically dependent on how the application ingests untrusted corpora over network interfaces or shared storage volumes.\nPost-exploitation impact involves the unauthorized disclosure of sensitive data accessible to the user ID running the Python process."
}
CVE-2026-62383: NLTK IPIPANCorpusReader Symlink File Read (MEDIUM Severity, CVSS: 5.5) - Sceawere