Skip to main content
Mallory
UnratedVulnerability

CVE-2026-12072: Path Traversal in NLTK NKJPCorpusReader

Updated 25 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS-Not scored
EPSS-30-day exploit probability
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
IdentifiersCVE-2026-12072CWE-22

CVE-2026-12072 is a path traversal vulnerability in the Python Natural Language Toolkit (NLTK) NKJPCorpusReader. Attacker-controlled values passed through the fileids argument of public read methods can escape the corpus root and access arbitrary files, bypassing nltk.pathsec sandbox protections even when ENFORCE=True. The header() method can directly disclose out-of-root file contents; other affected methods can also open and read files outside the corpus root. The vulnerability is rated High, with a CVSS v3.0 score of 7.5, and is fixed in NLTK 3.10.0.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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 files outside the intended corpus directory that are readable by the application process, potentially exposing sensitive host or application data. The vulnerability-specific CVSS vector indicates high confidentiality impact, with no integrity or availability impact.

Mitigation

If you can’t patch tonight, do this now.

Do not pass attacker-controlled values to NKJPCorpusReader fileids. Restrict fileids to a strict allowlist of known corpus entries and enforce canonical path containment within the corpus root before use. In multi-tenant or web deployments, disable untrusted access to affected reader operations until patched. Do not rely on nltk.pathsec.ENFORCE=True to prevent exploitation.

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 is identified as containing a fix for this CVE; apply the applicable vendor component updates.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

Frequently asked questions

Is CVE-2026-12072 exploited in the wild?
As of Nov 7, 2026, Mallory has no reports of CVE-2026-12072 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-12072?
As of Nov 7, 2026, Mallory has found no public exploit for CVE-2026-12072.
Is there a patch for CVE-2026-12072?
Upgrade NLTK and its related packages to version 3.10.0 or later. For VMware Tanzu Greenplum deployments, version 7.8.4 is identified as containing a fix for this CVE; apply the applicable vendor component updates.
Activity feed

Recent activity

2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.