CVE-2026-59974: Stanza: Zip Slip Path Traversal in Model/Resource Extraction

Published Sep 16, 2026
·
Updated

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.installcorenlp. 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 Software

1 affected component
pypi/stanza<1.14.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade stanza to a version that resolves this vulnerability.

    Fixed in 1.14.0

Event History

Sep 16, 2026
CVE Published
via MITRE·04:10 PM
Data Sourced
via MITRE·04:10 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Deployments using Stanza versions before 1.14.0 are exposed when they use stanza.download or stanza.install_corenlp to extract a malicious downloaded model or resource archive. The impact is limited to files that the Stanza process has permission to write.

2

What does an attacker need to exploit it?

An attacker needs a malicious ZIP archive to reach the vulnerable Stanza extraction path. The archive must contain path-traversal entries that cause extraction outside the intended model directory.

3

Are default download and installation workflows affected?

Yes. The vulnerable unzip function is reachable through both stanza.download and stanza.install_corenlp, which are Stanza download and installation workflows.

4

What is the remediation?

Upgrade Stanza to version 1.14.0, which fixes the archive member path validation issue. If upgrading cannot happen immediately, avoid extracting untrusted model or resource archives through the affected Stanza functions and run Stanza with minimal filesystem write permissions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203