PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-115878 stanfordnlp CVE debrief

CVE-2026-115878 Stanza RCE via pickle deserialization in the lemmatizer. The vulnerability allows for remote code execution via loading an attacker-supplied lemma `.pt` file, which runs arbitrary code as the loading user. This issue arises from the lemmatizer storing `pos_dict` as a gzip-compressed pickle in the checkpoint's `dicts` field. A downstream user is vulnerable when building a pipeline that loads a caller-supplied lemmatizer checkpoint.

Vendor
stanfordnlp
Product
stanza
CVSS
HIGH 7.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-03
Original CVE updated
2026-11-03
Advisory published
2026-11-03
Advisory updated
2026-11-03

Who should care

Users of the stanza library, particularly those building pipelines that load caller-supplied lemmatizer checkpoints, should assess their exposure and take immediate action to update to a secure version or implement compensating controls.

Why it matters

CVE-2026-115878 allows for remote code execution via loading an attacker-supplied lemma `.pt` file in the stanza library. Users building pipelines with caller-supplied lemmatizer checkpoints are at risk. Immediate action is required to update to a secure version or implement compensating controls.

  • Remote code execution via loading untrusted lemma models
  • Potential for lateral movement and privilege escalation
  • Need for immediate version updates or compensating controls
  • Possible data breaches or system compromise

Technical summary

The vulnerability arises from the deserialization of a gzip-compressed pickle in the checkpoint's `dicts` field. `torch.load(weights_only=True)` does not provide protection as it treats `bytes` as a primitive. The `Trainer.load` function then feeds these bytes to an unrestricted `pickle.loads`, leading to code execution. This issue allows for remote code execution via loading an attacker-supplied lemma `.pt` file, which runs arbitrary code as the loading user. A downstream user is vulnerable when building a pipeline that loads a caller-supplied lemmatizer checkpoint.

Defensive priority

High

Recommended defensive actions

  • Immediately update to stanza version 1.15.0 or later
  • Restrict loading of untrusted lemma models
  • Implement additional security measures for model loading and deserialization
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The vulnerability was confirmed end-to-end against stanza 1.14.0 / PyTorch 2.13.0 / CPython 3.13.7. A crafted checkpoint whose payload `__reduce__` returns `(os.system, (cmd,))` ran the command at load time.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-115878 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-115878

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-115878 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-115878

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Stanza: RCE via pickle deserialization in the lemmatizer

    Unverified legacy reference

    URL: https://storage.googleapis.com/osv-vulnerabilities/PyPI/GHSA-gh9r-c94j-cmp5.json

    osv_dev

  • Source reference

    Unverified legacy reference

    URL: https://github.com/stanfordnlp/stanza/security/advisories/GHSA-gh9r-c94j-cmp5

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/stanfordnlp/stanza/pull/1649

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/stanfordnlp/stanza/commit/b21e1c9b47b4fccff21d3b0a6c0687a19410c2f0

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/stanfordnlp/stanza

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/stanfordnlp/stanza/releases/tag/v1.15.0

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.