Description
NLTK versions before 3.10.2 contain a symlink-based sandbox bypass in FramenetCorpusReader that allows attackers to read arbitrary XML files outside the corpus root. Attackers can place symlinks with names containing no path separators inside the corpus subdirectory, which pass the path validation guard and are resolved to files outside the intended corpus root when accessed via frame_by_name(), _lu_file(), or doc() methods.
Published: 2026-08-22
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

NLTK versions prior to 3.10.2 have a symlink-based sandbox bypass in the FramenetCorpusReader that lets a program read any XML file outside the intended corpus directory. The flaw occurs when a symlink with a name that contains no path separators is placed inside the corpus subdirectory; the path validation check is bypassed and the symlink resolves to a target file elsewhere on the system. This vulnerability is a CWE‑22 type input validation failure and enables a confidentiality breach because arbitrary files can be read through the library's public methods.

Affected Systems

The affected product is the NLTK library from the nltk vendor. Versions earlier than 3.10.2 are vulnerable. All installations that use the FramenetCorpusReader class are impacted when they allow users to create or supply corpus directories with symlinks.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity. EPSS is not available and the vulnerability is not listed in the CISA KEV catalog. The attack vector is likely local or semi‑trusted, requiring the attacker to write a symlink into a corpus directory that the application later processes. Once the symlink is in place, the application can read any file accessible to the process, potentially exposing sensitive data.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade NLTK to version 3.10.2 or later
  • Restrict write access to the corpus directory to prevent unauthorized symlink creation
  • Remove any existing symlinks from corpus directories or validate symlink targets before opening them

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Description NLTK versions before 3.10.2 contain a symlink-based sandbox bypass in FramenetCorpusReader that allows attackers to read arbitrary XML files outside the corpus root. Attackers can place symlinks with names containing no path separators inside the corpus subdirectory, which pass the path validation guard and are resolved to files outside the intended corpus root when accessed via frame_by_name(), _lu_file(), or doc() methods.
Title NLTK FramenetCorpusReader Symlink Sandbox Bypass before 3.10.2
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': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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-22T14:12:37.283Z

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

Link: CVE-2026-62384

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-08-22T15:16:18.700

Link: CVE-2026-62384

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T15:30:05Z

Weaknesses
  • CWE-22

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