Skip to content
High 8.4

CHGNetに悪意あるモデルファイルを読み込ませるとコードを実行される脆弱性

CVE-2026-138444 First seen on SecPulse

Summary

CHGNet 0.4.2までのCHGNet.from_fileは、torch.loadをweights_only=Falseで呼び出すため、細工された.pth.tarモデルファイルを読み込むと、読み込んだユーザーの権限でコードが実行されるおそれがあります。CVSSv3は7.8、CVSSv4は8.4です。修正版の情報は公表されていないため、最新の情報を確認してください。信頼できないモデルファイルは読み込まないようにしてください。

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.

CHGNet 0.4.2までのCHGNet.from_fileは、torch.loadをweights_only=Falseで呼び出すため、細工された.pth.tarモデルファイルを読み込むと、読み込んだユーザーの権限でコードが実行されるおそれがあります。CVSSv3は7.8、CVSSv4は8.4です。修正版の情報は公表されていないため、最新の情報を確認してください。信頼できないモデルファイルは読み込まないようにしてください。

Affected packages

PackageAffected → Fixed
CederGroupHubchgnet
≤ 0.4.2→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

CHGNet through 0.4.2 contains an insecure deserialization vulnerability that allows attackers to execute code because CHGNet.from_file() calls torch.load() with weights_only=False. Attackers can supply a crafted .pth.tar model file containing a pickle reduce gadget to execute code with the privileges of the user loading it.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

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