HackerFeeds
All CVEs

CVE-2026-126296: NLTK External Control of File Path

MEDIUM4.8

Published 2026-11-13 · Updated 2026-11-18 · Source disclosure@vulncheck.com

Not known to be exploited · medium severity — update NLTK to 3.10.4 or later on your normal schedule.

What to do

  1. Update NLTK to version 3.10.4 or later. Versions before 3.10.4 are affected.
  2. Until it is patched, do not leave NLTK reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
  3. Restrict the service account to the directories it needs and block path input in the affected parameter.

Affected and fixed versions

ProductAffectedFixed in
NLTK< 3.10.43.10.4

Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.

How it can be exploited

It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact is limited: integrity and availability are rated low.

CVSS 3.1 metrics for CVE-2026-126296
Attack vectorNetworkIt can be exploited remotely over the network.
Attack complexityHighSuccess depends on conditions outside the attacker's control.
Privileges requiredNoneThe attacker does not need an account.
User interactionNoneNo action by a victim is needed.
ConfidentialityNoneNo effect on confidentiality.
IntegrityLowPartial loss of integrity.
AvailabilityLowPartial loss of availability.

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L

Weakness: External Control of File Path

An attacker can influence which file the software reads or writes, exposing or overwriting files it should not touch.

Classified as CWE-73.

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.

Advisory text as published in the NVD record.

View on NVD