PT-2026-111551 · Nltk · Nltk
CVSS v4.0
8.3
High
| Vector | AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
NLTK versions prior to 3.10.4
Description
A path traversal issue exists in the WekaClassifier. The component fails to validate the
model filename or model arguments, allowing the bypass of nltk.pathsec containment. An attacker can provide malicious paths and Weka arguments to the spawned Weka JVM to write files using the -d flag or probe files using the -l flag outside of the permitted data roots.Recommendations
Update NLTK to version 3.10.4 or later.
Restrict the use of the
model filename and model parameters in WekaClassifier to trusted paths only.Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Nltk