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.
Published: 2026-08-22
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary File Read
Action: Update Now
AI Analysis

Impact

NLTK versions before 3.10.2 contain a vulnerability that allows an attacker to create a symbolic link within the corpus root directory and then use the IPIPANCorpusReader methods—channels(), domains(), categories(), or fileids()—to read arbitrary files situated elsewhere on the system. The weakness exploited is a path traversal flaw, classified as CWE-22. The path validation performed by nltk.pathsec is bypassed entirely, resulting in a CVE‑22 style arbitrary file read that can expose sensitive data if the process runs with sufficient privileges.

Affected Systems

All installations of the Natural Language Toolkit using a version earlier than 3.10.2 are affected. The single vendor listed is nltk, and the issue spans all product releases prior to the 3.10.2 update.

Risk and Exploitability

The CVSS score of 6.8 indicates moderate severity. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog. Attackers must have the ability to create files in the corpus root directory, which implies local access or an attacker already able to influence the file system. Once a symlink is placed, the affected methods can read any file the process can access, potentially leaking confidential information. The absence of an exploit probability metric suggests limited known exploitation, but the impact could be significant in environments with privileged processes.

Generated by OpenCVE AI on August 22, 2026 at 15:55 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update NLTK to version 3.10.2 or later to apply the vendor fix.
  • If an immediate upgrade is not possible, ensure the corpus root directory contains no symbolic links—remove existing symlinks or prevent their creation by adjusting directory permissions.
  • Restrict write access to the corpus root directory so that only trusted users or processes can add files, thereby mitigating the risk of symlink injection.

Generated by OpenCVE AI on August 22, 2026 at 15:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-3hhw-38pf-pxj6 NLTK: Symlink-based arbitrary file read in IPIPANCorpusReader, bypasses nltk.pathsec entirely
History

Mon, 31 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 28 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 22 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
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.
Title nltk IPIPANCorpusReader Symlink Arbitrary File Read
First Time appeared Nltk
Nltk nltk
Weaknesses CWE-22
CPEs cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:*
Vendors & Products Nltk
Nltk nltk
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-26T16:16:35.172Z

Reserved: 2026-07-13T22:40:54.412Z

Link: CVE-2026-62383

cve-icon Vulnrichment

Updated: 2026-08-26T15:55:31.791Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-22T15:16:17.883

Modified: 2026-08-27T21:43:41.613

Link: CVE-2026-62383

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-22T14:12:36Z

Links: CVE-2026-62383 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T20:00:12Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')