CVE-2026-126296: NLTK External Control of File Path
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
- Update NLTK to version 3.10.4 or later. Versions before 3.10.4 are affected.
- Until it is patched, do not leave NLTK reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Restrict the service account to the directories it needs and block path input in the affected parameter.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| NLTK | < 3.10.4 | 3.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.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | High | Success depends on conditions outside the attacker's control. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | None | No effect on confidentiality. |
| Integrity | Low | Partial loss of integrity. |
| Availability | Low | Partial 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.