CVE-2026-59974 Stanza: Zip Slip Path Traversal in Model/Resource Extraction
Attackers can overwrite arbitrary files via malicious archives, potentially leading to code execution in the Stanza NLP library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-59974?
CVE-2026-59974 is a high-severity path traversal vulnerability in stanfordnlp stanza, published on 16 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Stanza is a Stanford NLP Python library for tokenization, sentence segmentation, NER, and parsing of many human languages. Prior to 1.14.0, stanza.resources.common.unzip in stanza/resources/common.py passes downloaded model and resource archives to zipfile.ZipFile.extractall without validating member paths, and the vulnerable extraction path is reachable through stanza.download and stanza.install_corenlp. A malicious archive containing parent-directory traversal entries can write outside the intended model directory, allowing files writable by the Stanza process to be overwritten and potentially enabling code execution through modified shell configuration, SSH authorization data, Python packages, or executable scripts. This issue is fixed in version 1.14.0.
Weakness: CWE-22
Which versions are affected by CVE-2026-59974?
How do I fix CVE-2026-59974?
No fix has been published for CVE-2026-59974 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-59974 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59974 exists.
Sources
Also known as GHSA-2fwf-f686-7p34.