CVE-2026-0846 Arbitrary File Read via Absolute Path Input in nltk.util.filestring()
HighCVSS 7.5
EPSS 0.59%
- Published
- Updated
- Exploit status
- No public exploit known
Description
A vulnerability in the filestring() function of the nltk.util module in nltk version 3.9.2 allows arbitrary file read due to improper validation of input paths. The function directly opens files specified by user input without sanitization, enabling attackers to access sensitive system files by providing absolute paths or traversal paths. This vulnerability can be exploited locally or remotely, particularly in scenarios where the function is used in web APIs or other interfaces that accept user-supplied input.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi nltk(PyPI) | < 3.9.3 | 3.9.3 |
| pypi nltk(PyPI) | = 0.8 | No fix listed |
| pypi nltk(PyPI) | = 0.9 | No fix listed |
| pypi nltk(PyPI) | = 0.9.3 | No fix listed |
| pypi nltk(PyPI) | = 0.9.4 | No fix listed |
| pypi nltk(PyPI) | = 0.9.5 | No fix listed |
| pypi nltk(PyPI) | = 0.9.6 | No fix listed |
| pypi nltk(PyPI) | = 0.9.7 | No fix listed |
| pypi nltk(PyPI) | = 0.9.8 | No fix listed |
| pypi nltk(PyPI) | = 0.9.9 | No fix listed |
| pypi nltk(PyPI) | = 2.0.1 | No fix listed |
| pypi nltk(PyPI) | = 2.0.1rc1 | No fix listed |
| pypi nltk(PyPI) | = 2.0.1rc2-git | No fix listed |
| pypi nltk(PyPI) | = 2.0.1rc3 | No fix listed |
| pypi nltk(PyPI) | = 2.0.1rc4 | No fix listed |
| pypi nltk(PyPI) | = 2.0.2 | No fix listed |
| pypi nltk(PyPI) | = 2.0.3 | No fix listed |
| pypi nltk(PyPI) | = 2.0.4 | No fix listed |
| pypi nltk(PyPI) | = 2.0.5 | No fix listed |
| pypi nltk(PyPI) | = 2.0b4 | No fix listed |
| pypi nltk(PyPI) | = 2.0b5 | No fix listed |
| pypi nltk(PyPI) | = 2.0b6 | No fix listed |
| pypi nltk(PyPI) | = 2.0b7 | No fix listed |
| pypi nltk(PyPI) | = 2.0b8 | No fix listed |
| pypi nltk(PyPI) | = 2.0b9 | No fix listed |
Show 83 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi nltk(PyPI) | = 3.0.0 | No fix listed |
| pypi nltk(PyPI) | = 3.0.0b1 | No fix listed |
| pypi nltk(PyPI) | = 3.0.0b2 | No fix listed |
| pypi nltk(PyPI) | = 3.0.1 | No fix listed |
| pypi nltk(PyPI) | = 3.0.2 | No fix listed |
| pypi nltk(PyPI) | = 3.0.3 | No fix listed |
| pypi nltk(PyPI) | = 3.0.4 | No fix listed |
| pypi nltk(PyPI) | = 3.0.5 | No fix listed |
| pypi nltk(PyPI) | = 3.1 | No fix listed |
| pypi nltk(PyPI) | = 3.2 | No fix listed |
| pypi nltk(PyPI) | = 3.2.1 | No fix listed |
| pypi nltk(PyPI) | = 3.2.2 | No fix listed |
| pypi nltk(PyPI) | = 3.2.3 | No fix listed |
| pypi nltk(PyPI) | = 3.2.4 | No fix listed |
| pypi nltk(PyPI) | = 3.2.5 | No fix listed |
| pypi nltk(PyPI) | = 3.3 | No fix listed |
| pypi nltk(PyPI) | = 3.4 | No fix listed |
| pypi nltk(PyPI) | = 3.4.1 | No fix listed |
| pypi nltk(PyPI) | = 3.4.2 | No fix listed |
| pypi nltk(PyPI) | = 3.4.3 | No fix listed |
| pypi nltk(PyPI) | = 3.4.4 | No fix listed |
| pypi nltk(PyPI) | = 3.4.5 | No fix listed |
| pypi nltk(PyPI) | = 3.5 | No fix listed |
| pypi nltk(PyPI) | = 3.5b1 | No fix listed |
| pypi nltk(PyPI) | = 3.6 | No fix listed |
| pypi nltk(PyPI) | = 3.6.1 | No fix listed |
| pypi nltk(PyPI) | = 3.6.2 | No fix listed |
| pypi nltk(PyPI) | = 3.6.3 | No fix listed |
| pypi nltk(PyPI) | = 3.6.4 | No fix listed |
| pypi nltk(PyPI) | = 3.6.5 | No fix listed |
| pypi nltk(PyPI) | = 3.6.6 | No fix listed |
| pypi nltk(PyPI) | = 3.6.7 | No fix listed |
| pypi nltk(PyPI) | = 3.7 | No fix listed |
| pypi nltk(PyPI) | = 3.8 | No fix listed |
| pypi nltk(PyPI) | = 3.8.1 | No fix listed |
| pypi nltk(PyPI) | = 3.9 | No fix listed |
| pypi nltk(PyPI) | = 3.9.1 | No fix listed |
| pypi nltk(PyPI) | = 3.9.2 | No fix listed |
| pypi nltk(PyPI) | = 3.9b1 | No fix listed |
| pypi nltk(PyPI) | <= 3.9.2 | No fix listed |
| nltk/nltk | <= latest | No fix listed |
| redhat openshift ai | < 1775144403 | 1775144403 |
| redhat openshift ai | < 1778262893 | 1778262893 |
| redhat openshift ai | < 1778263054 | 1778263054 |
| redhat lightspeed core | All versions | No fix listed |
| redhat openshift lightspeed | All versions | No fix listed |
| redhat ansible automation platform | = 2 | No fix listed |
| redhat ansible automation platform | All versions | No fix listed |
| redhat openshift ai | All versions | No fix listed |
| debian/nltk(Debian:12) | All versions | No fix listed |
| debian/nltk(Debian:12) | = 3.10.0-1 | No fix listed |
| debian/nltk(Debian:12) | = 3.10.1-1 | No fix listed |
| debian/nltk(Debian:12) | = 3.10.3-1 | No fix listed |
| debian/nltk(Debian:12) | = 3.8-1 | No fix listed |
| debian/nltk(Debian:12) | = 3.8.1-1 | No fix listed |
| debian/nltk(Debian:12) | = 3.9.1-1 | No fix listed |
| debian/nltk(Debian:12) | = 3.9.1-2 | No fix listed |
| debian/nltk(Debian:12) | = 3.9.2-1 | No fix listed |
| debian/nltk(Debian:12) | = 3.9.3-1 | No fix listed |
| debian/nltk(Debian:13) | All versions | No fix listed |
| debian/nltk(Debian:13) | = 3.10.0-1 | No fix listed |
| debian/nltk(Debian:13) | = 3.10.1-1 | No fix listed |
| debian/nltk(Debian:13) | = 3.10.3-1 | No fix listed |
| debian/nltk(Debian:13) | = 3.9.1-2 | No fix listed |
| debian/nltk(Debian:13) | = 3.9.2-1 | No fix listed |
| debian/nltk(Debian:13) | = 3.9.3-1 | No fix listed |
| debian/nltk(Debian:14) | < 3.9.3-1 | 3.9.3-1 |
| debian/nltk(Debian:14) | = 3.9.1-2 | No fix listed |
| debian/nltk(Debian:14) | = 3.9.2-1 | No fix listed |
| ubuntu/nltk(Ubuntu:22.04) | < 3.7-1ubuntu0.1~esm2 | 3.7-1ubuntu0.1~esm2 |
| redhat/rhoai/odh-llama-stack-core-rhel9:1775144403(Red Hat:openshift_ai:2.25::el9) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9:1778262893(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9:1778263054(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| redhat/lightspeed-core/lightspeed-stack-rhel9(Red Hat:lightspeed_core) | All versions | No fix listed |
| redhat/openshift-lightspeed/lightspeed-service-api-rhel9(Red Hat:openshift_lightspeed:1) | All versions | No fix listed |
| redhat/openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9(Red Hat:openshift_lightspeed:1) | All versions | No fix listed |
| redhat/ansible-automation-platform-25/lightspeed-chatbot-rhel8(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-26/lightspeed-chatbot-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/rhoai/odh-ta-lmes-job-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| ubuntu/nltk(Ubuntu:24.04) | < 3.8.1-1ubuntu0.1~esm2 | 3.8.1-1ubuntu0.1~esm2 |
| ubuntu/nltk(Ubuntu:26.04) | < 3.9.2-1ubuntu0.1~esm2 | 3.9.2-1ubuntu0.1~esm2 |
| ubuntu/nltk(Ubuntu:26.10) | All versions | No fix listed |
| nltk | = 3.9.2 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com product
- github.com
- huntr.com exploit vendor-advisory
- github.com vendor-advisory
- Red Hat CVE page vdb-entry vendor-advisory
- RHBZ#2445826 issue-tracking
- security.access.redhat.com
- RHSA-2026:10184 patch vendor-advisory
- RHSA-2026:19712 patch vendor-advisory
- Debian Security Tracker CVE-2026-0846 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8302-1 vendor-advisory
- www.cve.org