CVE-2026-54293
Fixed in a distro release EPSS <1%CVSS 7.5
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.
Products: nltk, Red Hat OpenShift AI 2.25, Red Hat OpenShift AI 3.4, Red Hat Exploit Intelligence, Red Hat OpenShift Lightspeed, Red Hat Ansible Automation Platform 2, Red Hat OpenShift AI (RHOAI)
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| PyPI | nltk | 3.10.0 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Chainguard | apache-beam-python-3.11-sdk | 2.75.0-r0 |
| Chainguard | apache-beam-python-3.12-sdk | 2.75.0-r0 |
| Chainguard | apache-beam-python-3.13-sdk | 2.75.0-r0 |
| Chainguard | label-studio | 1.23.0-r11 |
| Chainguard | nemo | 2.7.3-r15 |
| Chainguard | open-webui | 0.11.0-r7 |
| Chainguard | py3-nltk | 3.10.0-r0 |
| Chainguard | py3.11-nltk | 3.10.0-r0 |
| Chainguard | py3.12-nltk | 3.10.0-r0 |
| Chainguard | py3.13-nltk | 3.10.0-r0 |
| Debian 12 | nltk | no fix |
| Debian 13 | nltk | no fix |
| Debian 14 | nltk | 3.10.0-1 |
| Ubuntu 25.10 | nltk | no fix |
| Ubuntu 26.10 | nltk | no fix |
| Ubuntu Pro 14.04 LTS | nltk | no fix |
| Ubuntu Pro 16.04 LTS | nltk | no fix |
| Ubuntu Pro 18.04 LTS | nltk | no fix |
| Ubuntu Pro 20.04 LTS | nltk | no fix |
| Ubuntu Pro 22.04 LTS | nltk | no fix |
| Ubuntu Pro 24.04 LTS | nltk | no fix |
| Ubuntu Pro 26.04 LTS | nltk | no fix |
| Wolfi | open-webui | 0.11.0-r7 |
| Wolfi | py3-nltk | 3.10.0-r0 |
| Wolfi | py3.11-nltk | 3.10.0-r0 |
| Wolfi | py3.12-nltk | 3.10.0-r0 |
| Wolfi | py3.13-nltk | 3.10.0-r0 |
| openSUSE Tumbleweed | python-nltk | 3.10.0rc1-1.1 |