NLTK before 3.10.4 Path Traversal via save_maxent_params and load_maxent_params (nltk nltk)

CVE-2026-126296
MEDIUM 6.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 save_maxent_params() and load_maxent_params() that bypasses the pathsec filesystem restriction mechanism. Attackers who control the tab_dir argument can read or overwrite model parameter files outside permitted data roots, because the functions call Python's built-in open() directly.

Weaknesses (CWE)

  • CWE-73 — External Control of File Name or Path

Credits

  • F0DH1L reporter

References

Scores

VersionScoreVectorScored by
CVSS 4.0MEDIUM 6.3CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:NVulnCheck
CVSS 3.1MEDIUM 4.8CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:LVulnCheck
CVSS 4.0MEDIUM 6.3CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/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.1MEDIUM 4.8CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:LNVD · disclosure@vulncheck.com (Secondary)

Advisories

European references

Affected products

ProductAffected versions
nltk · nltk
affected : ≥ 0 < 3.10.4
unaffected : 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