Advisory

PYSEC-2026-3789

Also known as: CVE-2026-62384, GHSA-f833-7jw8-xwrv

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-08-22 15:16 UTC
Modified
2026-09-03 11:00 UTC

Affected packages and fixes

nltk

PyPI · All systems

Affected

  • introduced 3.10.0, fixed 3.10.2 (ecosystem)

Fixed versions

3.10.2

Fix

  • Fixed version 3.10.2
    pip install --upgrade nltk==3.10.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences