CVE-2026-78680
7.8NLTK Project · NLTK
NLTK versions before 3.10.3 are vulnerable to an untrusted search path flaw, which can lead to arbitrary code execution when processing malicious input.
Executive summary
The NLTK library contains an untrusted search path vulnerability that could allow a local attacker to execute arbitrary code.
Vulnerability
This vulnerability, classified as CWE-426, involves an untrusted search path issue within the NLTK library. An attacker with local access can exploit this to achieve arbitrary code execution, as the application may incorrectly resolve paths when interacting with external binaries like Graphviz.
Business impact
Successful exploitation of this vulnerability allows a local user to gain unauthorized code execution capabilities on the host system. Given the CVSS score of 7.8, this poses a high risk to environment integrity, potentially leading to unauthorized data access or system compromise within development or production workflows that utilize NLTK.
Remediation
Immediate Action: Update the NLTK library to version 3.10.3 or later to incorporate the security fix.
Proactive Monitoring: Monitor system logs for unexpected child process execution or unauthorized modifications to environment variables that define search paths.
Compensating Controls: Restrict local user access to the systems where NLTK is installed and ensure that external dependencies like Graphviz are configured with absolute, secure paths.
Exploitation status
Public Exploit Available: No (exploit_available: false)
Analyst recommendation
The high severity of this vulnerability necessitates immediate attention, particularly for systems where NLTK processes user-supplied data. Administrators should prioritize upgrading to version 3.10.3 to eliminate the risk of arbitrary code execution.