NLTK before 3.10.4 Path Traversal via WekaClassifier Model Path (nltk nltk)

CVE-2026-109956
HIGH 8.3

At a glance

Source
NVD
EPSS
EPSS 0.38 % · percentile 34 ()
State
PUBLISHED
Published
Updated
Assigner
VulnCheck
Affected products
nltk · nltk
NVD status
Awaiting Analysis

Description

NLTK before 3.10.4 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.

Weaknesses (CWE)

  • CWE-22 — Improper Limitation of a Pathname to a Restricted Directory

Credits

  • manus-use reporter

References

Scores

VersionScoreVectorScored by
CVSS 4.0HIGH 8.3CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:NVulnCheck
CVSS 3.1HIGH 7.0CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:LVulnCheck
CVSS 4.0HIGH 8.3CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XNVD · disclosure@vulncheck.com (Secondary)
CVSS 3.1HIGH 7.0CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:LNVD · disclosure@vulncheck.com (Secondary)

Advisories

European references

Affected products

ProductAffected versions
nltk · nltk
affected : ≥ 0 < 3.10.4
Other versions : unaffected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD