CVE-2026-81726
Received Received - Intake

NLTK Path Traversal via Model-Artifact APIs

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

Publication date: 2026-08-27

Last updated on: 2026-08-27

Assigner: VulnCheck

Description

NLTK through 3.10.3 contains a path traversal vulnerability in model-artifact APIs that bypass pathsec enforcement by using raw file operations on caller-controlled paths. Attackers can read or write files outside allowed sandbox roots through TransitionParser, AveragedPerceptron, PerceptronTagger, and maxent parameter APIs when pathsec is enabled.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

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

Affected Vendors & Products

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

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-81726 is a path traversal vulnerability in NLTK versions up to 3.10.3. It allows attackers to bypass path security restrictions by using raw file operations on caller-controlled paths in certain model-artifact APIs. This enables reading or writing files outside the intended sandbox directories even when path security is enabled.

Detection Guidance

Check for NLTK versions <=3.10.3 using pip show nltk or pip list. Review code using vulnerable APIs like TransitionParser.train, AveragedPerceptron.save, or PerceptronTagger.save_to_json for improper path handling. Monitor file system access logs for unexpected reads/writes outside intended directories.

Impact Analysis

This vulnerability could allow attackers to access or modify sensitive files on your system if you use vulnerable NLTK APIs with pathsec enabled. Attackers might read configuration files, overwrite critical system files, or steal data by exploiting raw file operations in TransitionParser, AveragedPerceptron, PerceptronTagger, or maxent parameter APIs.

Compliance Impact

This vulnerability could lead to unauthorized data access or modification, violating compliance requirements for GDPR (data protection) and HIPAA (health information security). Unauthorized file access may result in data breaches, exposing sensitive personal or health information, which could lead to regulatory penalties and loss of trust.

Mitigation Strategies

Upgrade NLTK if patches are available. Replace vulnerable API calls with nltk.pathsec.open() or pathsec-aware helpers. Restrict model paths to sandbox directories. Add regression tests to validate path security. Disable pathsec enforcement only as a last resort.

Chat Assistant

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

EPSS Chart