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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| nltk | nltk | ≤ 3.10.3 | 3.10.4 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nltk | No fix yet | — |
| Debian 13 | nltk | No fix yet | — |
| Debian 12 | nltk | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | nltk | No fix yet | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | nltk | No fix yet | — |
| Ubuntu Pro 24.04 LTS | nltk | No fix yet | — |
| Ubuntu Pro 22.04 LTS | nltk | No fix yet | — |
| Ubuntu Pro 20.04 LTS | nltk | No fix yet | — |
| Ubuntu Pro 18.04 LTS | nltk | No fix yet | — |
| Ubuntu Pro 16.04 LTS | nltk | No fix yet | — |
| Ubuntu Pro 14.04 LTS | nltk | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-nltk | 3.10.4-1.1 | openSUSE-SU-2026:12280-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | open-webui | 0.11.4-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | nltk | < 3.10.4 | 3.10.4 | GHSA-8mgp-746c-j5xp |
| PyPI | nltk | < 3.10.3 | 3.10.3 | PYSEC-2026-3740 |
Advisories 1
- openSUSE-SU-2026:12280-1 python313-nltk-3.10.4-1.1 on GA media SUSE / openSUSE Security Updates · Oct 27, 2026
References
- GitHub Security Advisory (GHSA-8mgp-746c-j5xp) vendor-advisory
- VulnCheck Advisory: NLTK through 3.10.3 Path Traversal via Model-Artifact APIs third-party-advisory