SecurityContext

CVE-2026-0848: NLTK - Remote Code Execution

  • Cve: CVE-2026-0848
  • Name: NLTK - Remote Code Execution
  • Description: NLTK versions <=3.9.2 are vulnerable to arbitrary code execution due to improper input validation in the StanfordSegmenter module. The module dynamically loads external Java .jar files without verification or sandboxing. An attacker can supply or replace the JAR file, enabling the execution of arbitrary Java bytecode at import time. This vulnerability can be exploited through methods such as model poisoning, MITM attacks, or dependency poisoning, leading to remote code execution. The issue arises from the direct execution of the JAR file via subprocess with unvalidated classpath input, allowing malicious classes to execute when loaded by the JVM.
  • Impact: Attackers can execute arbitrary Java bytecode remotely, leading to full system compromise.
  • Remediation: Update to the latest version of NLTK.
  • Vulnerability type: remote_code_execution
  • Vulnerability impact: remote_code_execution
  • Requirements: Attacker must supply or replace the Java .jar file used by the module.
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 10
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Epss score: 0.00841
  • Epss percentile: 0.58818
  • Assignee: [email protected]
  • Published at: 2026-03-05T21:16:14Z
  • Age in days: 264
  • Modified at: 2026-06-17T10:11:29Z
  • Public exploits total: 4
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-0848
  • Nvd status: analyzed
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-20Improper Input Validation
NVD-CWE-noinfo—

Public exploits

UrlSourceAdded date
https://huntr.com/bounties/08b109bb-ac24-403f-9422-1c246ce60202nvd2026-03-05
https://github.com/fevar54/CVE-2026-0848-Scanner---Herramienta-de-Detecci-npoc-in-github2026-03-31
https://github.com/fevar54/CVE-2026-0848-PoC-Improper-Input-Validationpoc-in-github2026-03-31
https://github.com/HyperPS/CVE-2026-0848poc-in-github2026-03-29

References

UrlSourceTags
https://huntr.com/bounties/08b109bb-ac24-403f-9422-1c246ce60202nvdExploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
nltk:nltk<= 3.9.2nonvd/v1/products/nltk/nltk

Projects

RepositoryLink kindsIndexedUrl
nltk/nltkfixyes/v1/repositories/nltk/nltk

Index

  • Repositories: 756
  • Repositories high signal: 371
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 4
  • Public exploit first date: 2026-03-05
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts