CVE-2026-79675
9.8nltk · nltk
NLTK before 3.10.3 contains an argument injection vulnerability in the java() function, allowing unauthenticated attackers to execute arbitrary code via malicious JVM flag injection.
Executive summary
The NLTK library is vulnerable to arbitrary code execution due to improper validation of JVM options, posing a critical security risk to all environments utilizing this package.
Vulnerability
This vulnerability involves improper neutralization of argument delimiters, allowing an unauthenticated attacker to inject dangerous JVM flags, such as agentpath or javaagent, into the java() function. This flaw enables the execution of arbitrary code within the context of the application.
Business impact
Successful exploitation of this vulnerability allows an attacker to gain full control over the application environment. Given the CVSS score of 9.8, this represents a critical risk that could lead to complete system compromise, unauthorized data access, and potential lateral movement within the network.
Remediation
Immediate Action: Update the NLTK package to version 3.10.3 or later immediately to resolve the argument injection flaw.
Proactive Monitoring: Monitor application logs for unusual process execution patterns or attempts to pass unexpected arguments to Java-related functions.
Compensating Controls: Implement strict input validation or sanitization for all parameters passed to the java() function and restrict the application execution environment permissions.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
The critical nature of this flaw, combined with the ease of exploitation, necessitates an immediate update to version 3.10.3. Organizations should prioritize patching this library across all development and production environments to mitigate the risk of arbitrary code execution.