CVE-2026-0846
NLTK has Arbitrary File Read via Absolute Path Input in nltk.util.filestring()
8.6
HIGH
CVSS 3.1
EPSS 0.43%
描述
A vulnerability in the `filestring()` function of the `nltk.util` module in nltk version 3.9.2 allows arbitrary file read due to improper validation of input paths. The function directly opens files specified by user input without sanitization, enabling attackers to access sensitive system files by providing absolute paths or traversal paths. This vulnerability can be exploited locally or remotely, particularly in scenarios where the function is used in web APIs or other interfaces that accept user-supplied input.
如何修補 CVE-2026-0846
要修補 CVE-2026-0846,請將受影響套件升級到下列已修補版本。
- —未列出修補版本
- —升級至 3.9.3 或更新版本
- —未列出修補版本
CVE-2026-0846 正在被利用嗎?
低 — EPSS 為 0.4%,目前沒有觀察到大規模利用活動。
受影響套件(3)
- from 0
- from 0, < 3.9.3
- from 0, <= 3.9.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.6 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |