Skip to main content
VulnerabilityPublished

CVE-2026-126296: NLTK · Path Traversal in save_maxent_params / load_maxent_params Allow Arbitrary File READ/WRITE

Affects safetySource GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2026-126296· Medium 6.3

Not known to be exploited · CVSS 6.3 Medium : upgrade to 3.8.1_3 when convenient.

Data as of 17 Nov 2026, 19:34 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.06.3
CNA (VulnCheck)CVSS 3.14.8
Patch
Available – fixed in 3.8.1_3
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.

What to do

Upgrade safety to 3.8.1_3.

Affected software

ProductAffectedFixed in
Homebrewsafetypkg:brew/safetyOther threatsAffected
  • >=3.3.1 <3.8.1_3
Fixed in
  • 3.8.1_3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available and has been merged into NLTK. Users should upgrade to version 3.8.1_3 or later to ensure save_maxent_params() properly validates paths and to versions 3.9.4 or later for load_maxent_params() to enforce pathsec validation. No additional mitigation is required if these versions are used.

Description

NLTK's save_maxent_params() and load_maxent_params() functions contain a path traversal vulnerability that allows arbitrary file read and write outside the intended directories. This occurs because these functions construct file paths from a user-controlled argument and open files directly without enforcing NLTK's pathsec security mechanism. The vulnerability bypasses the filesystem sandboxing intended by pathsec, potentially allowing attackers to read or overwrite files outside permitted directories. The issue has been fixed in NLTK version 3.8.1_3 and later.

References

Community reviews

Loading reviews…