CVE-2026-12252 Untrusted JAR Code Execution in Multiple Stanford Interface Classes in nltk/nltk
설명
In nltk/nltk versions 3.9.3 and earlier, five Stanford interface classes (StanfordPOSTagger, StanfordNERTagger, StanfordParser, StanfordDependencyParser, and StanfordNeuralDependencyParser) are vulnerable to untrusted JAR code execution. These classes accept user-controllable JAR paths and execute them via the `java()` function, which invokes `subprocess.Popen()` without integrity verification. This vulnerability is identical to CVE-2026-0848, which was fixed for StanfordSegmenter by adding SHA256 verification. However, the fix was not applied to these additional classes, leaving them susceptible to arbitrary code execution when loading untrusted JAR files.
영향 받는 제품 제품 1개
-
nltk
nltk/nltk
영향 받는 버전
- 버전 정보 확인 필요
해결 버전
해결된 버전 정보가 없습니다.
패키지 기준 해결 버전 패키지 1개
-
해결 버전 있음
PyPI · nltk
영향 받는 버전 · 해결 버전
- 영향 3.9.4 미만 · 해결 3.9.4 이상
출처: GitHub Advisory Database · CC-BY 4.0