← CVE Intelligence

CVE-2026-59974

Stanza: Zip Slip Path Traversal in Model/Resource Extraction PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
stanfordnlp / stanzaaffected < 1.14.0

CWE

CWE-22

References

ADP enrichment

CISA-ADP

No English description supplied.