NLTK versions before 3.10.0 contain a path traversal vulnerability in FramenetCorpusReader and NKJPCorpusReader that allows attackers to parse XML files outside
En bref
- Source
- OSV
- Publiée
- Mise à jour
- CVE
- CVE-2026-62385
- Alias
- GHSA-568f-pv23-39p4
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Criticité de la CVE
- HIGH 8.2 · CVE-2026-62385
Description
NLTK versions before 3.10.0 contain a path traversal vulnerability in FramenetCorpusReader and NKJPCorpusReader that allows attackers to parse XML files outside the corpus root by supplying unsafe selectors or poisoned index state. Attackers can exploit frame_by_name, doc, lu, and header methods with crafted parameters to read arbitrary XML files accessible to the application.
Références
Paquets affectés
| Paquet | Versions |
|---|---|
| PyPI · nltk | introduced 0, fixed 3.10.0 |
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — PyPA Advisory Database |