Advisory

PYSEC-2026-3736

Also known as: CVE-2026-79674, GHSA-3gq4-3j92-5w49

Summary

The record has no summary.

Details

NLTK versions before 3.10.3 contain a path sandbox bypass vulnerability in corpus-reader constructors that allows attackers to read files outside the intended data root. Attackers can supply arbitrary corpus root paths to LinThesaurusCorpusReader and PanLexLiteCorpusReader constructors to access filesystem content and SQLite databases outside the pathsec sandbox boundary.

Severity

Not rated by the source.

Dates

Published
2026-08-25 16:17 UTC
Modified
2026-09-01 09:15 UTC

Affected packages and fixes

nltk

PyPI · All systems

Affected

  • introduced 0, fixed 3.10.3 (ecosystem)

Fixed versions

3.10.3

Fix

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

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