CVE-2026-12074: Path Traversal in NLTK FramenetCorpusReader.frame()
CVE-2026-12074 is a path traversal vulnerability in Natural Language Toolkit (NLTK). FramenetCorpusReader.frame() permits access to XML files outside the intended FrameNet corpus root, bypassing the nltk.pathsec sandbox even when ENFORCE=True. An attacker who controls input to this method can read XML files accessible to the application process. Related code paths in doc() and the lexical-unit loader may also be reachable through an attacker-controlled FrameNet corpus index. The vulnerability is fixed in NLTK 3.10.0.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can disclose sensitive XML-formatted configuration, exported data, or credentials outside the intended corpus root, subject to the application's filesystem permissions. Parsing errors may also reveal file existence or readability. The vulnerability is rated High with a CVSS v3.0 score of 7.5 and vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, indicating high confidentiality impact without identified integrity or availability impact.
Mitigation
If you can’t patch tonight, do this now.
Until patched, prevent untrusted input from reaching FramenetCorpusReader.frame() and avoid untrusted or attacker-modified FrameNet corpus data. Restrict the application's filesystem permissions to prevent access to sensitive XML files outside the corpus root, and isolate services exposing FrameNet lookups from sensitive host data. Enabling the nltk.pathsec sandbox alone is insufficient because the vulnerability bypasses enforcement.
Remediation
Patch, then assume compromise.
Upgrade NLTK and its related packages to version 3.10.0 or later. For VMware Tanzu Greenplum deployments, version 7.8.4 includes a fix for this CVE; apply the appropriate vendor-supported release and component updates.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-12074 exploited in the wild?
- As of Nov 7, 2026, Mallory has no reports of CVE-2026-12074 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-12074?
- As of Nov 7, 2026, Mallory has found no public exploit for CVE-2026-12074.
- Is there a patch for CVE-2026-12074?
- Upgrade NLTK and its related packages to version 3.10.0 or later. For VMware Tanzu Greenplum deployments, version 7.8.4 includes a fix for this CVE; apply the appropriate vendor-supported release and component updates.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.