Skip to main content
← All vulnerabilities
CVE-2026-81726GHSA-8MGP-746C-J5XPPYSEC-2026-3740

NLTK through 3.10.3 Path Traversal via Model-Artifact APIs

NLTK through 3.10.3 is exposed when pathsec is enabled and the application lets untrusted workflows choose model import or export paths. No vendor rating or fix is listed.

Published
Last modified
published
Not listed in CISA KEV
Specific setups only
Fix
Fixed in 3.10.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • nltk nltk

    through 3.10.3

  • nltkPyPI

    through 3.10.3

  • nltkPyPI

    fixed in 3.10.3

References 2

GitHub · nltk/nltk

vulncheck.com

FAQ

Questions about CVE-2026-81726

What does this mean?

Pathsec, NLTK's containment for local files, can be bypassed through model saving and loading APIs. This can let an attacker read or overwrite files outside the approved sandbox roots.Source: vulncheck.com, github.com

Am I affected, and how do I check?

Versions through 3.10.3 are listed as affected. The exposed setup requires pathsec to be enabled and untrusted workflows to be able to choose model import or export paths; check your NLTK version and whether pathsec is enabled in your application's configuration.Source: vulncheck.com, github.com

What should I do about it?

The facts do not confirm a fixed release. One version range lists 3.10.3 as fixed, while the others list it as the last affected version, so confirm the fixed version with the NLTK project before relying on an upgrade.Source: vulncheck.com, github.com

Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. CISA's SSVC assessment notes a proof of concept exists. No public exploit code is tracked.Source: cve.now feed data