CVE-2026-0847
published high CVSS 3.0 · 8.6Path Traversal in nltk/nltk
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nltk | — | nltk/nltkunspecified through latest | Affected | Not stated | @huntr_ai |
| Red Hat | — | rhoai/odh-llama-stack-core-rhel9Red Hat OpenShift AI 2.25 · 1775144403 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9Red Hat OpenShift AI 3.3 · 1778262893 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9Red Hat OpenShift AI 3.3 · 1778263054 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-nltkaarch64 | Advisory build | 3.9.3-1.1 | OPENSUSE-SU-2026:10304-1 |
| Ubuntu | bionic | nltk | Advisory build | 3.2.5-1ubuntu0.1+esm4 | USN-8302-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-nltkppc64le | Advisory build | 3.9.3-1.1 | OPENSUSE-SU-2026:10304-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-nltks390x | Advisory build | 3.9.3-1.1 | OPENSUSE-SU-2026:10304-1 |
Show 54 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | lightspeed-core/lightspeed-stack-rhel9Lightspeed Core | Affected | Not stated | redhat-SADP |
| Red Hat | — | openshift-lightspeed/lightspeed-ocp-rag-rhel9OpenShift Lightspeed | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-lightspeed/lightspeed-service-api-rhel9OpenShift Lightspeed | Affected | Not stated | redhat-SADP |
| Red Hat | — | openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9OpenShift Lightspeed | Affected | Not stated | redhat-SADP |
| Red Hat | — | ansible-automation-platform-24/de-minimal-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-24/de-minimal-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-24/de-supported-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-24/de-supported-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-24/ee-minimal-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-24/ee-minimal-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-24/ee-supported-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-24/ee-supported-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/aap-cloud-metrics-collector-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/ansible-dev-tools-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/de-minimal-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/de-minimal-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/de-supported-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/de-supported-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/ee-cloud-services-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/ee-minimal-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/ee-minimal-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/ee-supported-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/ee-supported-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/lightspeed-chatbot-rhel8Red Hat Ansible Automation Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | ansible-automation-platform-26/ansible-dev-tools-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-26/de-minimal-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-26/de-supported-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-26/ee-minimal-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-26/ee-supported-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-26/lightspeed-chatbot-rhel9Red Hat Ansible Automation Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | ansible-automation-platform/ee-minimal-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform/ee-minimal-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ansible-automation-platform-tech-preview/ansible-devspaces-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-ta-lmes-job-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-nltkx86_64 | Advisory build | 3.9.3-1.1 | OPENSUSE-SU-2026:10304-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-nltkaarch64 | Advisory build | 3.9.3-1.1 | OPENSUSE-SU-2026:10304-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-nltkppc64le | Advisory build | 3.9.3-1.1 | OPENSUSE-SU-2026:10304-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-nltks390x | Advisory build | 3.9.3-1.1 | OPENSUSE-SU-2026:10304-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-nltkx86_64 | Advisory build | 3.9.3-1.1 | OPENSUSE-SU-2026:10304-1 |
| Ubuntu | bionic | python-nltk | Advisory build | 3.2.5-1ubuntu0.1+esm4 | USN-8302-1 |
| Ubuntu | bionic | python3-nltk | Advisory build | 3.2.5-1ubuntu0.1+esm4 | USN-8302-1 |
| Ubuntu | focal | nltk | Advisory build | 3.4.5-2ubuntu0.1~esm4 | USN-8302-1 |
| Ubuntu | focal | python3-nltk | Advisory build | 3.4.5-2ubuntu0.1~esm4 | USN-8302-1 |
| Ubuntu | jammy | nltk | Advisory build | 3.7-1ubuntu0.1~esm2 | USN-8302-1 |
| Ubuntu | jammy | python3-nltk | Advisory build | 3.7-1ubuntu0.1~esm2 | USN-8302-1 |
| Ubuntu | noble | nltk | Advisory build | 3.8.1-1ubuntu0.1~esm2 | USN-8302-1 |
| Ubuntu | noble | python3-nltk | Advisory build | 3.8.1-1ubuntu0.1~esm2 | USN-8302-1 |
| Ubuntu | resolute | nltk | Advisory build | 3.9.2-1ubuntu0.1~esm2 | USN-8302-1 |
| Ubuntu | resolute | python3-nltk | Advisory build | 3.9.2-1ubuntu0.1~esm2 | USN-8302-1 |
| Ubuntu | trusty | nltk | Advisory build | 2.0~b9-0ubuntu4.1~esm6 | USN-8302-1 |
| Ubuntu | trusty | python-nltk | Advisory build | 2.0~b9-0ubuntu4.1~esm6 | USN-8302-1 |
| Ubuntu | xenial | nltk | Advisory build | 3.1-1ubuntu0.1+esm4 | USN-8302-1 |
| Ubuntu | xenial | python-nltk | Advisory build | 3.1-1ubuntu0.1+esm4 | USN-8302-1 |
| Ubuntu | xenial | python3-nltk | Advisory build | 3.1-1ubuntu0.1+esm4 | USN-8302-1 |
Description
A vulnerability in NLTK versions up to and including 3.9.2 allows arbitrary file read via path traversal in multiple CorpusReader classes, including WordListCorpusReader, TaggedCorpusReader, and BracketParseCorpusReader. These classes fail to properly sanitize or validate file paths, enabling attackers to traverse directories and access sensitive files on the server. This issue is particularly critical in scenarios where user-controlled file inputs are processed, such as in machine learning APIs, chatbots, or NLP pipelines. Exploitation of this vulnerability can lead to unauthorized access to sensitive files, including system files, SSH private keys, and API tokens, and may potentially escalate to remote code execution when combined with other vulnerabilities.
A flaw was found in NLTK (Natural Language Toolkit). This vulnerability allows a remote attacker to read arbitrary files on the server due to improper sanitization of file paths in several CorpusReader classes, including WordListCorpusReader, TaggedCorpusReader, and BracketParseCorpusReader. By exploiting this path traversal vulnerability, an attacker can gain unauthorized access to sensitive information, such as system files, SSH private keys, and API tokens. In certain scenarios, this could potentially lead to remote code execution.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nltk | nltk/nltk | unspecified through latest (affected · custom) | @huntr_ai · cna |
| Red Hat | Red Hat OpenShift AI 2.25 | 1775144403 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.3 | 1778262893 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.3 | 1778263054 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Lightspeed Core | Default: affected | redhat-SADP · adp |
| Red Hat | OpenShift Lightspeed | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Lightspeed | Default: affected | redhat-SADP · adp |
| Red Hat | OpenShift Lightspeed | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
6- https://access.redhat.com/errata/RHSA-2026:10184
- https://access.redhat.com/errata/RHSA-2026:19712
- https://access.redhat.com/security/cve/CVE-2026-0847
- RHBZ#2444608 https://bugzilla.redhat.com/show_bug.cgi?id=2444608
- https://huntr.com/bounties/fc69914f-36a9-4c18-8503-10013b39f966
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0847.json
Provider assertions
3@huntr_ai · cna
Path Traversal in nltk/nltk
redhat-SADP · adp
nltk: NLTK: Arbitrary file read via path traversal vulnerability
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3c6c8330e294ce68b3f77a317504bc1e2835a254ae44b723632722737ab26944
- Ingested
- 23 Sep 2026, 08:59:58 UTC
- Source record
- Official CVE record