CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NHigh (7.5) in nltk nltk. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in nltk 3.9.3.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:Nnltk (PyPI): fixed in 3.9.3Explain CVE-2026-0846 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-0846?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-0846?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-0846 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| nltk/nltk | through latest |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-h8wq-7xc4-p3qx | PyPI | nltk | <3.9.3 | 3.9.3 |
| PYSEC-2026-97 | PyPI | nltk | <=3.9.2 | no fix published |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | nltk | no fix listed | DEBIAN-CVE-2026-0846 |
| Debian | 14 | nltk | 3.9.3-1 | DEBIAN-CVE-2026-0846 |
| Ubuntu | 25.10, 26.10 | nltk | no fix listed | UBUNTU-CVE-2026-0846 |
| Ubuntu | Pro:14.04:LTS | nltk | 2.0~b9-0ubuntu4.1~esm6 | UBUNTU-CVE-2026-0846 |
| Ubuntu | Pro:16.04:LTS | nltk | 3.1-1ubuntu0.1+esm4 | UBUNTU-CVE-2026-0846 |
| Ubuntu | Pro:18.04:LTS | nltk | 3.2.5-1ubuntu0.1+esm4 | UBUNTU-CVE-2026-0846 |
| Ubuntu | Pro:20.04:LTS | nltk | 3.4.5-2ubuntu0.1~esm4 | UBUNTU-CVE-2026-0846 |
| Ubuntu | Pro:22.04:LTS | nltk | 3.7-1ubuntu0.1~esm2 | UBUNTU-CVE-2026-0846 |
| Ubuntu | Pro:24.04:LTS | nltk | 3.8.1-1ubuntu0.1~esm2 | UBUNTU-CVE-2026-0846 |
| Ubuntu | Pro:26.04:LTS | nltk | 3.9.2-1ubuntu0.1~esm2 | UBUNTU-CVE-2026-0846 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Important.
This IMPORTANT vulnerability in NLTK allows arbitrary file reads through the `nltk.util.filestring()` function. Exploitation requires no authentication and is network-accessible when the function is exposed to untrusted input. Impact is high confidentiality loss as sensitive files like credentials and configuration can be read. Red Hat products using NLTK with exposed file input handling are affected.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenShift AI 2.25 | rhoai/odh-llama-stack-core-rhel9:1775144403 | Fixed 2026-04-23 | RHSA-2026:10184 |
| Red Hat OpenShift AI 3.3 | rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9:1778262893 | Fixed 2026-05-20 | RHSA-2026:19712 |
| Red Hat OpenShift AI 3.3 | rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9:1778263054 | Fixed 2026-05-20 | RHSA-2026:19712 |
| Lightspeed Core | lightspeed-core/lightspeed-stack-rhel9 | Affected | |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-ocp-rag-rhel9 | Not affected | |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-service-api-rhel9 | Will not fix | |
| OpenShift Lightspeed | openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9 | Affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/de-minimal-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/de-minimal-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/de-supported-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/de-supported-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/ee-minimal-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/ee-minimal-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/ee-supported-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/ee-supported-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/aap-cloud-metrics-collector-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ansible-dev-tools-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/de-minimal-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/de-minimal-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/de-supported-rhel8 | Not affected | |
| 17 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-0846.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.