Skip to content
Threat Brief

← All advisories

CVE-2026-126296

Medium 6.3No known exploitationFix available

NLTK before 3.10.4 Path Traversal via save_maxent_params and load_maxent_params

Vendor advisory: GHSA-59f9-gqg8-mqpj

Record last updated

CVSS score

6.3

Medium on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.3%

Higher than 20% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-73

Patching and mitigation

Patch status
Fix available (source: CVE record (VulnCheck))
Fix documented (source date)
Mitigation
None documented
Vendor guidance
github.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
nltknltkall versions before 3.10.43.10.4CVE Program
pipnltkall versions up to and including 3.10.33.10.4GitHub Advisory Database
nltknltk (unaffected)3.10.4Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by VulnCheck

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by CVE record (VulnCheck)

    Source: CVE record (VulnCheck) (opens in a new tab)

Vendor guidance and references