SCA: security update for nltk (GHSA-p4gq-832x-fm9v)

high Tenable Self-Hosted Container Security Plugin ID 444813

Description

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

- NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials
supporting research and development in Natural Language Processing. Prior to 3.10.0-rc1, nltk.data.load()
in NLTK is vulnerable to path traversal via URL-encoded path separators and traversal segments when using
the nltk: URL scheme. The unsafe-path regex check is performed before url2pathname() decodes the %xx
sequences (a classic decode-after-check / TOCTOU-style flaw), allowing an attacker to bypass the
protection documented in NLTK's SECURITY.md and read arbitrary files from the filesystem. While literal
traversal strings such as ../../../etc/passwd are correctly blocked, encoded variants such as
%2fetc%2fpasswd, %2e%2e%2f..., and ..%2f..%2f slip past the regex and are subsequently decoded into a real
filesystem path. This vulnerability is fixed in 3.10.0-rc1. (CVE-2026-54293)

Solution

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

See Also

https://github.com/advisories/GHSA-p4gq-832x-fm9v

Plugin Details

Severity: High

ID: 444813

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 7/17/2026

Updated: 7/17/2026

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-54293

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: 6/16/2026

Vulnerability Publication Date: 6/16/2026

Reference Information

CVE: CVE-2026-54293

cwe: CWE-22