The CVSS 5.9 rating for CVE-2026-79676 badly misrepresents the actual risk profile of this vulnerability. The flaw isn't a missing check — it's a temporal trust gap in NLTK's own security architecture. The library built pathsec specifically to prevent path traversal attacks, and it correctly validates initial corpus paths through nltk.pathsec.open(). But the corpus reader methods — specifically channels(), domains(), and synonyms() in multiple reader classes — derive new paths from validated roots and then reopen them using Python's built-in open() without re-applying pathsec checks. This violates a fundamental security principle: validation must be performed as close as possible to the operation it protects, and derived paths require re-validation when the operation changes context.

The architectural failure becomes exploitable through symlinks. A symlink placed under a trusted corpus directory resolves to any filesystem location when opened through built-in open(), bypassing the original validation entirely. The CVSS prerequisite of 'filesystem write access' dramatically underweights the real attack surface: NLTK's corpus download and installation mechanism. Researchers routinely install community-contributed corpora from third-party sources — GitHub repos, institutional mirrors, conference datasets. The actual prerequisite isn't local write access; it's convincing a user to install a malicious corpus package. That's a supply chain vector wearing a local-access costume.

The attack surface is concentrated in corpus reader methods that derive and reopen paths. Check all custom corpus readers for calls to built-in open() on paths constructed from previously-validated roots, particularly in the channels(), domains(), and synonyms() methods. Deprecated or community-contributed readers are highest-risk — they likely predate pathsec and may never have been audited. If your NLTK deployment ingests corpora from external sources, treat every corpus package as untrusted input that can stage symlinks under your data root.

The 3.10.3 patch needs scrutiny: verify whether it re-validates derived paths with pathsec at each reopen, or whether it eliminates root-derived path patterns entirely. The former maintains the architectural model with ongoing validation overhead; the latter is a genuine architectural correction. Either way, audit your corpus reader implementations for the same derived-path pattern — if pathsec exists but wasn't uniformly applied, other vulnerable code paths likely remain.