Skip to content
8.6 High

CVE-2026-0846 A vulnerability in the `filestring()` function of the `nltk.util` module in nltk version 3.9.2 allows arbitrary file…

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 and versions

Product Affected versions Fixed in
Red Hat OpenShift AI 2.25 1775144403 earliest → < 1775144403 1775144403
Red Hat OpenShift AI 3.3 1778263054 earliest → < 1778263054 1778263054
Lightspeed Core Versions not published
OpenShift Lightspeed Versions not published
Red Hat Ansible Automation Platform 2 Versions not published
Red Hat OpenShift AI (RHOAI) Versions not published
nltk/nltk Versions not published

References

Timeline

  1. Published
  2. Last modified
The 140 CVEs of Red Hat OpenShift AI 2.25 →
Track this CVE