Skip to content
High 7.8

Stanzaの脆弱性、モデル読み込みで任意のコードが実行されるおそれ

CVE-2026-115878 First seen on SecPulse

Summary

Stanzaの見出し語化モデルの読み込み処理に脆弱性があり、細工されたチェックポイントを読み込むと、利用者の権限で任意のコードが実行されるおそれがあります。影響を受けるのは1.15.0より前のpip版stanzaで、修正版は1.15.0です。外部から入手したモデルを読み込んでいる環境は、早めに1.15.0へ更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Stanzaの見出し語化モデルの読み込み処理に脆弱性があり、細工されたチェックポイントを読み込むと、利用者の権限で任意のコードが実行されるおそれがあります。影響を受けるのは1.15.0より前のpip版stanzaで、修正版は1.15.0です。外部から入手したモデルを読み込んでいる環境は、早めに1.15.0へ更新してください。

Affected packages

PackageAffected → Fixed
pipstanza
< 1.15.0→ 1.15.0
stanfordnlpstanza —
PyPIstanza
≥ 1.14.0, < 1.15.0→ 1.15.0
Original description The description as published by the source.

Stanza is a Stanford NLP Python library for tokenization, sentence segmentation, NER, and parsing of many human languages. From 1.14.0 until 1.15.0, loading an attacker-supplied lemmatizer checkpoint can execute arbitrary code because stanza/models/lemma/trainer.py stores pos_dict as gzip-compressed pickle bytes and Trainer.load passes the decompressed stream to unrestricted pickle.loads. The outer torch.load call uses weights_only=True, but the nested bytes are treated as a primitive and are not inspected by that allowlist. The path is reachable during pipeline construction through a caller-influenced lemma_model_path, before inference begins. This issue is fixed in version 1.15.0.

Source: GitHub Security Advisories (Global) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details