Skip to main content

NLTK through 3.10.3 contains a path traversal vulnerability in model-artifact APIs that bypass pathsec enforcement by using raw file operations on… (CVE-2026-81726)

0
Medium
Published: 08/27/2026 (08/27/2026, 17:21:00 UTC)
Source: GCVE Database
Product: nltk

Description

NLTK versions through 3.10.3 contain a path traversal vulnerability in certain model-artifact APIs. This flaw allows bypassing path security enforcement by using raw file operations on user-controlled paths. Specifically, the vulnerability affects TransitionParser, AveragedPerceptron, PerceptronTagger, and maxent parameter APIs when pathsec is enabled, enabling attackers to read or write files outside the intended sandbox.

CVSS v3.1

Score 7.0high

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
nltk
pkg:deb/ubuntu/nltk?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=2.0~b9-0ubuntu4=2.0~b9-0ubuntu4.1~esm2=2.0~b9-0ubuntu4.1~esm4=2.0~b9-0ubuntu4.1~esm5=2.0~b9-0ubuntu4.1~esm6
Ubuntu:Pro:16.04:LTSmore threats →ghsa
nltk
pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps-legacy/xenial
Affected versions
=3.0.4-1=3.0.5-1=3.1-1=3.1-1ubuntu0.1=3.1-1ubuntu0.1+esm1=3.1-1ubuntu0.1+esm2=3.1-1ubuntu0.1+esm3=3.1-1ubuntu0.1+esm4
Ubuntu:Pro:18.04:LTSmore threats →ghsa
nltk
pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/bionic
Affected versions
=3.2.4-1=3.2.5-1=3.2.5-1ubuntu0.1=3.2.5-1ubuntu0.1+esm1=3.2.5-1ubuntu0.1+esm2=3.2.5-1ubuntu0.1+esm3=3.2.5-1ubuntu0.1+esm4
Ubuntu:Pro:20.04:LTSmore threats →ghsa
nltk
pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/focal
Affected versions
=3.4.5-1=3.4.5-2=3.4.5-2ubuntu0.1~esm1=3.4.5-2ubuntu0.1~esm2=3.4.5-2ubuntu0.1~esm3=3.4.5-2ubuntu0.1~esm4
Ubuntu:Pro:22.04:LTSmore threats →ghsa
nltk
pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/jammy
Affected versions
=3.5-1=3.6.5-1=3.6.7-1=3.7-1=3.7-1ubuntu0.1~esm1=3.7-1ubuntu0.1~esm2
Ubuntu:Pro:24.04:LTSmore threats →ghsa
nltk
pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/noble
Affected versions
=3.8.1-1=3.8.1-1ubuntu0.1~esm1=3.8.1-1ubuntu0.1~esm2
Ubuntu:26.10more threats →ghsa
nltk
pkg:deb/ubuntu/nltk?arch=source&distro=stonking
Affected versions
=3.9.2-1=3.9.3-1=3.10.0-1=3.10.1-1=3.10.3-1
Ubuntu:Pro:26.04:LTSmore threats →ghsa
nltk
pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/resolute
Affected versions
=3.9.1-2=3.9.1-2build1=3.9.2-1=3.9.2-1ubuntu0.1~esm1=3.9.2-1ubuntu0.1~esm2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/17/2026, 23:34:12 UTC

Technical Analysis

NLTK up to version 3.10.3 has a path traversal vulnerability in its model-artifact APIs. The vulnerability arises because these APIs use raw file operations on paths controlled by the caller, bypassing path security (pathsec) enforcement. This allows an attacker to access or modify files outside the allowed sandbox roots via the TransitionParser, AveragedPerceptron, PerceptronTagger, and maxent parameter APIs when pathsec is enabled. The CVSS 3.1 score is 7.0, indicating a medium severity with network attack vector, high attack complexity, no privileges required, no user interaction, unchanged scope, high confidentiality impact, low integrity impact, and low availability impact.

Potential Impact

An attacker can exploit this vulnerability to read or write files outside the intended sandbox, potentially exposing sensitive information or modifying files on the system. The impact includes high confidentiality loss, low integrity, and availability impacts. No privileges or user interaction are required, but the attack complexity is high.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no patch or official fix information is provided, users should monitor vendor communications for updates. Until a fix is available, avoid enabling pathsec or using the affected model-artifact APIs with untrusted input paths.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-81726
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:26.10","Ubuntu:Pro:26.04:LTS"]
Cvss Version
3.1

Threat ID: 6ad3f5652cdf04f6566620c7

Added to database: 10/17/2026, 22:23:33 UTC

Last enriched: 10/17/2026, 23:34:12 UTC

Last updated: 10/17/2026, 23:34:12 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses