Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

debian логотип

CVE-2026-0846

Опубликовано: 09 мар. 2026
Источник: debian

Описание

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.

Пакеты

ПакетСтатусВерсия исправленияРелизТип
nltkfixed3.9.3-1package
nltkno-dsatrixiepackage
nltkno-dsabookwormpackage
nltkpostponedbullseyepackage

Примечания

  • https://huntr.com/bounties/007b84f8-418e-4300-99d0-bf504c2f97eb

  • https://github.com/nltk/nltk/pull/3485

  • Fixed by: https://github.com/nltk/nltk/commit/1fc626969f013bba104a40e5e760b9d67b2994ea (3.9.3)

  • Fixed by: https://github.com/nltk/nltk/commit/5c46f3dac7e0eb10ee7d9f7be9fe732b0ec0af25 (3.9.3)

  • Sandbox enforement is only opt-in to retain old behaviour (for backward compatibility).

Связанные уязвимости

CVSS3: 7.5
ubuntu
5 месяцев назад

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.

CVSS3: 7.5
redhat
5 месяцев назад

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.

CVSS3: 7.5
nvd
5 месяцев назад

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.

CVSS3: 8.6
github
5 месяцев назад

NLTK has Arbitrary File Read via Absolute Path Input in nltk.util.filestring()

CVSS3: 8.6
fstec
8 месяцев назад

Уязвимость функции filestring() модуля nltk.util пакета библиотек для символьной и статистической обработки естественного языка NLTK, позволяющая нарушителю читать произвольные файлы