CVE-2026-128138
## Summary NLTK 3.10.3 contains security hardening intended to close JVM argument-injection and untrusted JAR/classpath execution paths in `nltk.internals.java()`, including the issue published as GHSA-m4rf-3fr8-xwx3. The patched `options` channel correctly rejects Java argument-file references such as `@/path/to/args` and launcher modes such as `-jar`. However, an additional argument channel remains: the caller-provided `cmd` sequence is appended to the Java command after the validated option and classpath channels, without enforcing that its first item is a Java main-class name. I am reporting this as an additional post-fix bypass / incomplete-fix path affecting the 3.10.3 remediation, rather than as an unrelated vulnerability family. As a result, the same launcher token that is rejected through `options` can be supplied as the first `cmd` item. I confirmed two reachable forms against the official `nltk-3.10.3-py3-none-any.whl`: 1. direct use of the public `nltk.internals.java()` helper with `cmd=["-jar", ...]`; and 2. the higher-level `StanfordSegmenter`, whose public `java_class` constructor argument becomes the first `cmd` item and accepts an `@argfile` launcher token. Both paths execute an external researcher-controlled JAR without setting `NLTK_ALLOW_UNSAFE_JARS`, `NLTK_ALLOW_UNSAFE_CLASSPATH`, or using `trusted_raw_options`. The original explicit outside-classpath route is blocked in 3.10.3, while the alternate command channel executes the JAR 3/3 times. ## Affected artifact ```text Package: nltk Confirmed affected version: 3.10.3 Wheel: nltk-3.10.3-py3-none-any.whl SHA-256: ff9598a8e20518ee0d557745890cc4435b9578489e2dcbc69c4f81fa060caf7c ``` Baseline artifact: ```text Version: 3.10.2 Wheel: nltk-3.10.2-py3-none-any.whl SHA-256: 2c7ccacb765c5e26b0cb60fb1b57080af522c6924d12a714a243305ba3637412 ``` ## Relationship to the 3.10.3 security fixes The existing 3.10.3 hardening validates the dedicated per-call `options` list before it reaches `subprocess
Properties
- Epss score
- 0.00683
- First seen
- 2026-11-19T17:53:03+00:00
- Cvss score
- 9.8
- Last seen
- 2026-11-19T23:55:54+00:00
- Euvd assigner
- GitHub_M
- Retrieved at
- 2026-11-22T12:32:26+00:00
- Src batch id
- euvd-20261120T013402Z-1a4778
- Source url
- https://github.com/advisories/GHSA-x8q7-6c7m-52gw
- Ghsa updated
- 2026-11-19T23:55:55Z
- Score
- 9.8
- Euvd base score version
- 3.1
- Fetched at
- 2026-11-20T01:34:22+00:00
- Euvd vendor
- nltk
- Cvss vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- First seen by Signal
- 2026-11-19T19:29:21+00:00
- Euvd base score
- 9.8
- Is ghsa only
- false
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Content hash
- 6ba9b3c9b3c5225130dbd714f8b65dd6716cb6082ee757db3a366b3ab9e7abe1
- Published at
- 2026-11-19T18:18:06.150
Related Entities (4)
HAS_WEAKNESS (2)
AFFECTS (1)
VULNERABLE_TO (1)
Related research
Explore deeper with Ninja Signal's threat intelligence graph