Skip to content
High 8.8

Hugging Face Datasets 5.1.0以前で悪意あるpickleから遠隔コード実行のおそれ

CVE-2026-57845 First seen on SecPulse

Summary

Hugging Face Datasets の 5.1.0 以前には、非推奨の pandas ビルダーで読み込まれる pickle ファイルを悪用し、任意の Python コードを実行される脆弱性があります。細工されたデータセットを load_dataset("pandas", ...) で読み込むと、利用者のプロセス権限でコードが実行されるおそれがあります。修正版の情報は現時点で確認できないため、最新の情報を確認してください。

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.

Hugging Face Datasets の 5.1.0 以前には、非推奨の pandas ビルダーで読み込まれる pickle ファイルを悪用し、任意の Python コードを実行される脆弱性があります。細工されたデータセットを load_dataset("pandas", ...) で読み込むと、利用者のプロセス権限でコードが実行されるおそれがあります。修正版の情報は現時点で確認できないため、最新の情報を確認してください。

Affected packages

PackageAffected → Fixed
huggingfacedatasets
≤ 5.1.0→ 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.

Hugging Face Datasets before 5.2.0 contains an insecure deserialization vulnerability that allows attackers to execute arbitrary Python code by crafting a malicious pickle file loaded through the deprecated pandas packaged builder. Attackers can supply a pickle-backed dataset that is processed by Pandas._generate_tables via pandas.read_pickle() without validation, so when a victim calls datasets.load_dataset("pandas", data_files=...), the embedded reduce payload executes code with the victim process's privileges.

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