Skip to main content

Stanford Stanza EUVDEUVD-2026-80864

| CVE-2026-59974 HIGH
Path Traversal (CWE-22)
2026-09-16 GitHub_M
7.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Host malicious model archive on mirror/MITM
  2. Delivery
    Victim runs stanza.download or install_corenlp
  3. Exploit
    extractall follows '../' traversal entries
  4. Execution
    Overwrite shell rc / SSH keys / Python module
  5. Impact
    Code 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

stanza < 1.14.0

Affected Packages

euvd stanza fix: 1.14.0

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

Vendor (GitHub_M) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

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.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Sep 16, 2026 - 17:04 EUVD
CVE Published
Sep 16, 2026 - 16:10 cve.org
HIGH 7.8

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Medium
Popular Stanford NLP Python library, widely used in research/data-science but not core infrastructure
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy