CVE-2026-79674
Received Received - Intake

Path Sandbox Bypass in NLTK Corpus Reader

Vulnerability report for CVE-2026-79674, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-25

Last updated on: 2026-08-25

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-25
Last Modified
2026-08-25
Generated
2026-08-25
AI Q&A
2026-08-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
nltk nltk 3.10.2
nltk nltk to 3.10.3 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-73 The product allows user input to control or influence paths or file names that are used in filesystem operations.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-79674 is a high-severity sandbox bypass in NLTK versions before 3.10.3. It allows attackers to read files outside the intended data root by supplying arbitrary paths to LinThesaurusCorpusReader and PanLexLiteCorpusReader constructors. The issue occurs because these constructors convert string roots to FileSystemPathPointer without validation, bypassing the pathsec sandbox boundary.

Detection Guidance

Check NLTK version with pip show nltk. If version is below 3.10.3, the system is vulnerable. Inspect code using LinThesaurusCorpusReader or PanLexLiteCorpusReader for unsanitized path inputs.

Impact Analysis

This vulnerability could allow attackers to access sensitive files or SQLite databases outside the NLTK data directory. If exploited, it may lead to unauthorized data exposure or manipulation, depending on the system's file permissions and the attacker's goals.

Compliance Impact

This vulnerability could violate compliance requirements like GDPR or HIPAA by enabling unauthorized access to sensitive data. Organizations using affected NLTK versions may face data breaches, leading to regulatory penalties, reputational damage, and legal consequences.

Mitigation Strategies

Upgrade NLTK to version 3.10.3 or later using pip install --upgrade nltk. Review and sanitize all corpus root paths in code to ensure they are validated before use.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-79674. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart