Skip to content
Medium 6.3

NLTK before 3.10.4 Path Traversal via save_maxent_params and load_maxent_params

CVE-2026-126296 First seen on SecPulse

Affected packages

PackageAffected → Fixed
nltknltk
< 3.10.4→ 3.10.4
pipnltk
< 3.10.4→ 3.10.4
PyPInltk
< 3.10.4→ 3.10.4

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details