CVE-2026-62383

nltk IPIPANCorpusReader Symlink Arbitrary File Read

Published Aug 22, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 26, 2026, 4:16 PM
Reserved
Jul 13, 2026, 10:40 PM
Status
Analyzed
Published
Aug 22, 2026, 3:16 PM
Modified
Oct 14, 2026, 1:10 PM
Severity
Moderate
Public date
Aug 22, 2026, 2:12 PM