Path traversal in Natural Language Toolkit - CVE-2026-54292

 

Path traversal in Natural Language Toolkit - CVE-2026-54292

Published: August 7, 2026


Vulnerability identifier: #VU141244
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-54292
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists due to path traversal in FramenetCorpusReader.frame() when processing a caller-supplied frame name. A remote attacker can supply a crafted frame name containing traversal sequences to disclose sensitive information.

The issue bypasses the nltk.pathsec sandbox even when ENFORCE=True. If the target is not frame-shaped XML, parsing errors can still reveal file existence or readability.


Affected software

Natural Language Toolkit

How to mitigate CVE-2026-54292

Install security update from vendor's website.

Natural Language Toolkit - update to 3.10.0

External References

Related Security Bulletins