DEBIAN-CVE-2026-12243

Source
https://security-tracker.debian.org/tracker/CVE-2026-12243
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12243.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-12243
Upstream
Withdrawn
2026-08-19T02:00:36Z
Published
2026-06-30T01:16:29Z
Modified
2026-08-19T02:00:36Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

NLTK version 3.9.4 is vulnerable to a path traversal attack due to an incomplete fix for GitHub Issue #3504. The _UNSAFE_NO_PROTOCOL_RE regex in nltk/data.py checks for literal ../ sequences but fails to account for percent-encoded traversal sequences such as ..%2f. The url2pathname() function decodes these sequences after the validation step, allowing an attacker to bypass the protection. This vulnerability enables an attacker to read arbitrary files accessible to the Python process by controlling the resource name parameter passed to nltk.data.load() or nltk.data.find(). The issue affects applications that rely on NLTK for resource loading, including NLP web applications, Jupyter notebooks, and CLI tools. The default pathsec.ENFORCE=False setting exacerbates the impact by not blocking the file read at the open() stage.

References

Affected packages

Debian:11 / nltk

Package

Name
nltk
Purl
pkg:deb/debian/nltk?arch=source&distro=bullseye

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.5-1
3.6.5-1
3.6.7-1
3.7-1
3.8-1
3.8.1-1
3.9.1-1
3.9.1-2
3.9.2-1
3.9.3-1
3.10.0-1
3.10.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12243.json"

Debian:12 / nltk

Package

Name
nltk
Purl
pkg:deb/debian/nltk?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.8-1
3.8.1-1
3.9.1-1
3.9.1-2
3.9.2-1
3.9.3-1
3.10.0-1
3.10.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12243.json"

Debian:13 / nltk

Package

Name
nltk
Purl
pkg:deb/debian/nltk?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.9.1-2
3.9.2-1
3.9.3-1
3.10.0-1
3.10.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12243.json"

Debian:14 / nltk

Package

Name
nltk
Purl
pkg:deb/debian/nltk?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.9.1-2
3.9.2-1
3.9.3-1
3.10.0-1
3.10.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12243.json"