Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessHost malicious model archive on mirror/MITM
-
DeliveryVictim runs stanza.download or install_corenlp
-
Exploitextractall follows '../' traversal entries
-
ExecutionOverwrite shell rc / SSH keys / Python module
-
ImpactCode execution in victim context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the victim to invoke stanza.download() or stanza.install_corenlp() (UI:R) and for the fetched model/resource zip to be attacker-controlled - via a compromised or malicious download mirror, MITM of the archive transfer, or the victim being induced to point Stanza at an attacker-supplied resource URL. The malicious archive must contain traversal members ('../') and the overwrite target must be a file writable by the Stanza process (e.g. the user's ~/.bashrc, ~/.ssh/authorized_keys, site-packages module, or an executable script) for the write to escalate to code execution. Limiting factors: local vector, mandatory user action to trigger a download, dependence on a non-trustworthy archive source, and successful code execution requiring an attacker-writable sensitive file to exist. Affected only in versions prior to 1.14.0. |
| Impact | The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H = 7.8) frames this as a local, user-interaction-dependent zip-slip (Zip Slip / CWE-22) rather than a remotely triggerable flaw: AV:L plus UI:R means the victim must actively run stanza.download or stanza.install_corenlp against a malicious archive. There is no EPSS score provided, no CISA KEV listing, and no public exploit code - only the fix commit and regression tests are published - so exploitation status is 'no public exploit identified at time of analysis.' The C:H/I:H/A:H impact rating is optimistic for what is fundamentally an arbitrary-file-write primitive (zip slip writes, it does not read), but overwriting shell rc files, SSH authorized_keys, or importable Python packages plausibly chains to code execution and thus full compromise, which justifies high integrity/availability and, indirectly, confidentiality. The realistic gating factor is the download source: Stanza fetches models from Stanford's own hosting, so an attacker must compromise/mirror that source, MITM the download, or convince the victim to point Stanza at an attacker-controlled resource. Net: a real supply-chain-style risk for anyone consuming untrusted model archives, but not an internet-facing mass-exploitation priority. Note UI:R and AV:L in the vector are consistent with the description; no signals conflict, though the C:H rating slightly overstates a write-only primitive. |
| Exploit ScenarioDerived | An attacker publishes or MITMs a Stanza model/resource archive (or a poisoned mirror) whose zip contains parent-directory traversal entries like '../../../../home/user/.bashrc'. When a data scientist runs stanza.download() or stanza.install_corenlp() and the archive is extracted via zipfile.ZipFile.extractall, the malicious member overwrites a process-writable file such as a shell rc, SSH authorized_keys, or an importable Python module, yielding code execution in the victim's context. No public exploit code is identified, but the technique (zip slip) is well understood and trivially reproducible. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 16, 2026
Zip-slip path traversal in the Stanford NLP Stanza Python library before 1.14.0 lets a malicious model or resource archive write files outside the intended model directory, overwriting anything writable by the Stanza process and potentially achieving code execution via modified shell configuration, SSH authorized_keys, Python packages, or executable scripts. The vulnerable code path is reached when a victim runs stanza.download() or stanza.install_corenlp(); exploitation therefore requires the fetched archive to be attacker-controlled (compromised or malicious mirror, MITM of the transfer, or a victim-supplied resource URL) plus user interaction to initiate the download. Rated CVSS 3.1 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) and tracked as CWE-22; unauthenticated per the PR:N vector but local and interaction-dependent, with no public exploit identified at time of analysis and a vendor patch available in 1.14.0.
RemediationAI
Upgrade to Stanza 1.14.0, which is the exact vendor-released fix version containing the _is_within_directory containment check introduced in commit a7085e75abdf35f277754dda472bba4e6819bcbb and referenced by the advisory at https://github.com/stanfordnlp/stanza/security/advisories/GHSA-2fwf-f686-7p34. Where upgrading immediately is not possible, reduce exposure by never letting Stanza fetch archives from untrusted sources: pin downloads to the official HTTPS endpoint, pre-stage model and CoreNLP archives over a trusted channel and verify their MD5/checksums before extraction, and use a private mirror with the same verification. Disabling or restricting stanza.download() and stanza.install_corenlp() to a controlled downloader removes the reachable exploitation path but breaks automatic model provisioning, so it is only viable if models are pre-installed into STANZA_RESOURCES_DIR manually. Running the Stanza process under a low-privilege account with no write access to shell startup files, ~/.ssh/authorized_keys, site-packages, or user-writable PATH directories removes the escalation targets a malicious archive would aim for, at the cost of needing a dedicated service account and adjusted file permissions. Because exploitation depends on the served archive being attacker-controlled, enforcing TLS certificate validation and avoiding untrusted proxies or mirrors is an effective compensating control while the patch is staged.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a classic Zip Slip (CWE-22, improper limitation of a pathname to a restricted directory) in stanza/resources/common.py, where the unzip helper passed downloaded model and resource archives directly to zipfile.ZipFile.extractall() without validating archive member names. Python's extractall sanitizes some aspects of member names but historically allowed relative parent-directory components and absolute paths to be honored in certain configurations, so an archive containing entries such as '../../evil.txt', 'subdir/../../../evil.txt', or an absolute path could be written outside the model directory. Because Stanza downloads pretrained model packages, word vectors, and CoreNLP Java distributions at runtime via stanza.download() and stanza.install_corenlp(), any attacker who controls the served archive can plant content in arbitrary writable locations in the Stanza process's file-system context. The upstream fix introduces a private _is_within_directory(directory, target) helper that resolves both paths with os.path.realpath() and compares them with os.path.commonpath(), rejecting any member that would escape the destination directory by raising ValueError; regression tests exercise relative traversal, nested traversal, absolute paths, and a well-formed archive that must still extract normally. The affected product is captured by CPE cpe:2.3:a:stanfordnlp:stanza:*:*:*:*:*:*:*:*, i.e. every release prior to 1.14.0 of this multi-language tokenization, sentence segmentation, NER, and parsing library.
Know when Stanza gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Local extraction of an attacker-supplied archive (AV:L) that the victim must trigger (UI:R); arbitrary file overwrite chains to code execution, giving full C/I/A, though direct primitive is write-only.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, "path traversal" / "zip slip").
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
The Stanford NLP Stanza library, used across data science and machine learning teams to fetch language models, contains a path-traversal flaw that can let a downloaded model or resource archive write files outside its intended model directory with the privileges of the Stanza process, including shell configuration, SSH keys, Python packages, and executables. Impact is concentrated on engineering workstations and model-training hosts that run stanza.download() or stanza.install_corenlp(), typically under developer accounts with broad credentials and access to internal systems, so an overwritten file could translate into code execution and lateral movement. Exploitation requires a user to initiate a download from a compromised or malicious source, which makes this a supply-chain and developer-workstation risk rather than a mass internet-facing one; the availability of a fixed version means leadership should prioritize a controlled upgrade.
Apply vendor patch: upgrade to Stanza 1.14.0. Until the upgrade is completed, restrict downloads to official Stanford NLP sources over verified TLS, reject user-supplied resource URLs, unpack fetched archives in a least-privilege container or disposable runner isolated from credentials, SSH keys, and home directories, and validate archive contents and hashes before installation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-80864
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB