# CVE-2026-0847: Path Traversal in nltk/nltk

- Severity: High 7.5 (CVSS:3.1, scored by redhat-SADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.98%, higher than 63% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-04T18:25:30.240Z
- Modified: 2026-11-04T03:30:09.539Z
- Also known as: GHSA-68j8-pq59-fqgm, PYSEC-2026-98
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- nltk nltk/nltk: from unspecified up to latest
- rhoai/odh-llama-stack-core-rhel9: no versions given (not affected: from 1775144403 before *)
- rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9: no versions given (not affected: from 1778262893 before *)
- rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9: no versions given (not affected: from 1778263054 before *)
- lightspeed-core/lightspeed-stack-rhel9: no versions given
- openshift-lightspeed/lightspeed-ocp-rag-rhel9: no versions given
- openshift-lightspeed/lightspeed-service-api-rhel9: no versions given
- openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9: no versions given
- ansible-automation-platform-24/de-minimal-rhel8: no versions given
- ansible-automation-platform-24/de-minimal-rhel9: no versions given
- ansible-automation-platform-24/de-supported-rhel8: no versions given
- ansible-automation-platform-24/de-supported-rhel9: no versions given
- ansible-automation-platform-24/ee-minimal-rhel8: no versions given
- ansible-automation-platform-24/ee-minimal-rhel9: no versions given
- ansible-automation-platform-24/ee-supported-rhel8: no versions given
- ansible-automation-platform-24/ee-supported-rhel9: no versions given
- ansible-automation-platform-25/aap-cloud-metrics-collector-rhel8: no versions given
- ansible-automation-platform-25/ansible-dev-tools-rhel8: no versions given
- ansible-automation-platform-25/de-minimal-rhel8: no versions given
- ansible-automation-platform-25/de-minimal-rhel9: no versions given
- ansible-automation-platform-25/de-supported-rhel8: no versions given
- ansible-automation-platform-25/de-supported-rhel9: no versions given
- ansible-automation-platform-25/ee-cloud-services-rhel9: no versions given
- ansible-automation-platform-25/ee-minimal-rhel8: no versions given
- ansible-automation-platform-25/ee-minimal-rhel9: no versions given
- ansible-automation-platform-25/ee-supported-rhel8: no versions given
- ansible-automation-platform-25/ee-supported-rhel9: no versions given
- ansible-automation-platform-25/lightspeed-chatbot-rhel8: no versions given
- ansible-automation-platform-26/ansible-dev-tools-rhel9: no versions given
- ansible-automation-platform-26/de-minimal-rhel9: no versions given
- ansible-automation-platform-26/de-supported-rhel9: no versions given
- ansible-automation-platform-26/ee-minimal-rhel9: no versions given
- ansible-automation-platform-26/ee-supported-rhel9: no versions given
- ansible-automation-platform-26/lightspeed-chatbot-rhel9: no versions given
- ansible-automation-platform/ee-minimal-rhel8: no versions given
- ansible-automation-platform/ee-minimal-rhel9: no versions given
- ansible-automation-platform-tech-preview/ansible-devspaces-rhel9: no versions given
- rhoai/odh-ta-lmes-job-rhel9: no versions given
- nltk (PyPI): before 3.9.3
- nltk nltk: up to 3.9.2

## Every score

- @huntr_ai: CVSS:3.0 8.6 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.0 8.6 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://huntr.com/bounties/fc69914f-36a9-4c18-8503-10013b39f966> (exploit, evidence, vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-0847> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2444608> (issue-tracking, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0847.json> (web)
- <https://access.redhat.com/errata/RHSA-2026:10184> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19712> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-0847> (advisory)
- <https://github.com/nltk/nltk> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-98.yaml> (web)
- <https://github.com/advisories/GHSA-68j8-pq59-fqgm> (advisory)

## Sources

- CVE List: [CVE-2026-0847](https://www.cve.org/CVERecord?id=CVE-2026-0847), CVE Terms of Use, modified 2026-09-16
- GitHub Advisory Database: [GHSA-68j8-pq59-fqgm](https://github.com/advisories/GHSA-68j8-pq59-fqgm), CC-BY-4.0, modified 2026-11-04
- NVD: [CVE-2026-0847](https://nvd.nist.gov/vuln/detail/CVE-2026-0847), Public domain, modified 2026-07-15
- PyPA Advisory Database: [PYSEC-2026-98](https://osv.dev/vulnerability/PYSEC-2026-98), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2026-0847 · Whole record: https://cve.day/CVE-2026-0847.json · Rebuilt by cve.day 2026-11-25T22:59:15.213Z
