Skip to content
OpenAdvisories
High · 7.0 CVE-2026-109956 EUVD-2026-98660GHSA-9fgx-q9j8-3j83GHSA-j456-xh4h-cpf2

NLTK through 3.10.3 Path Traversal via WekaClassifier Model Path

Published Oct 13, 2026 · Updated Oct 26, 2026 · Assigned by VulnCheck

Description

NLTK through 3.10.3 contains a path traversal vulnerability in WekaClassifier that allows attackers to bypass nltk.pathsec containment by supplying unvalidated model paths. Attackers controlling the model_filename or model argument can make the weka JVM write files via -d or probe files via -l outside allowed data roots.

Affected products

VendorProductAffectedFixed
nltk nltk ≤ 3.10.3 —

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.

ReleasePackageFixed inAdvisory
Debian 14 nltk No fix yet —
Debian 13 nltk No fix yet —
Debian 12 nltk No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 nltk No fix yet —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
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 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling py3-nltk +3 3.10.4-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI nltk < 3.10.4 3.10.4 GHSA-j456-xh4h-cpf2

References