datasets: known vulnerabilities and the safe version

PyPI1 records

The version to be on

Version 5.0.1 or later fixes every vulnerability on this page that has a recorded fix.

Upgrade datasets with pip

pip install --upgrade "datasets>=5.0.1"
pip show datasets | grep Version

Pin it in requirements.txt

datasets>=5.0.1

Check the release notes before a large jump in version. Newer vulnerabilities may have been found since this page was updated.

Watch datasets

Get an email only when datasets has a new vulnerability record. Unsubscribe with one click.

Badge for your README

Shows the number of known critical and high vulnerabilities in datasets and the version that fixes them. It updates by itself.

SecurityElites AI vulnerability status for datasets

Markdown

[![SecurityElites AI vulnerability status](https://securityelites.com/ai-vulnerabilities/package/datasets/badge/)](https://securityelites.com/ai-vulnerabilities/package/datasets/)

All records

  • Hugging Face Datasets folder-based builders allow path traversal through file_name metadataUnknown · CVE-2026-66007 · fixed in 5.0.1 · 24 Jul 2026