SCA: security update for nltk (GHSA-h8wq-7xc4-p3qx)

high Tenable Self-Hosted Container Security Plugin ID 440666

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2026-0846)

Solution

Update the nltk library and its related packages to version 3.9.3 or later.

See Also

https://github.com/advisories/GHSA-h8wq-7xc4-p3qx

Plugin Details

Severity: High

ID: 440666

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 4/18/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.72

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2026-0846

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/9/2026

Vulnerability Publication Date: 3/9/2026

Reference Information

CVE: CVE-2026-0846

cwe: CWE-36