CVE-2026-126295

NLTK: BllipParser passes caller-supplied model paths to the bllipparser C extension with no pathsec check, enabling arbitrary read

High published · updated · also known as GHSA-FG9W-WFP5-J933

7.0
CVSS score out of 10 · NVD (vulncheck.com)

Description

NLTK from 3.10.0 before 3.10.4 contains an arbitrary file read vulnerability in BllipParser that allows attackers to open files outside NLTK data roots by supplying unvalidated model paths. Attackers controlling parser_model, reranker_features, reranker_weights, or from_unified_model_dir() input can make the bllipparser C extension read sensitive files or block on FIFOs and devices.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
nltk pip >= 3.10.0, <= 3.10.33.10.4 GitHub

References