---
id: CVE-2026-62384
title: >-
  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
summary: >-
  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 i…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-22
  - CWE-59
  - CWE-41
published: '2026-08-22'
updated: '2026-08-22'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-62384'
references:
  - url: 'https://github.com/nltk/nltk/security/advisories/GHSA-f833-7jw8-xwrv'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/nltk-framenetcorpusreader-symlink-sandbox-bypass-before
    label: disclosure@vulncheck.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-62384'
  - url: 'https://github.com/nltk/nltk/pull/3726'
  - url: >-
      https://github.com/nltk/nltk/commit/736d3212a47de2005b85b785dde6720556d3925d
  - url: 'https://github.com/nltk/nltk/releases/tag/v3.10.2'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3789.yaml
  - url: 'https://github.com/advisories/GHSA-f833-7jw8-xwrv'
  - url: 'https://github.com/nltk/nltk'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-62384.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-62384'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2521349'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-62384'
  - url: 'https://access.redhat.com/errata/RHSA-2026:69539'
tags:
  - nvd
  - ghsa
  - pip
  - osv
  - csaf
  - vex
  - red-hat
ingestedAt: '2026-08-23T04:42:15.163Z'
epss: 0.00563
epssPercentile: 0.45616
aliases:
  - GHSA-f833-7jw8-xwrv
  - PYSEC-2026-3789
ecosystem: pip
vendor: nltk
product: nltk
affected:
  - 'nltk >= 3.10.0, < 3.10.2'
patched:
  - nltk 3.10.2
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-62384)

Affected packages:

- `nltk >= 3.10.0, < 3.10.2`

Patched in:

- `nltk 3.10.2`

Source: https://github.com/advisories/GHSA-f833-7jw8-xwrv

## Vendor advisories

- **Red Hat VEX** · Important · affected: Exploit Intelligence, Lightspeed Core, OpenShift Lightspeed, Red Hat Ansible Automation Platform 2, Red Hat OpenShift AI (RHOAI) · no fix planned: Exploit Intelligence, Red Hat Ansible Automation Platform 2, Lightspeed Core, OpenShift Lightspeed, … · updated 2026-09-22 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-62384.json)
- **RHSA-2026:69539** · Red Hat · fixed in: Red Hat OpenShift AI 3.5 · released 2026-09-21 · [advisory](https://access.redhat.com/errata/RHSA-2026:69539)
