Skip to content
EventPast event

Hugging Face Datasets path traversal vulnerability

1 reports1 reporting sourcesLatest report

Start here

AI overview

Hugging Face Datasets 5.0.0 and earlier versions have a path traversal vulnerability, fixed in commit f989ef9. The issue is that the folder-based dataset builder does not sufficiently validate the file_name metadata field before concatenating it directly with the dataset directory. An attacker can construct a file_name value with directory traversal sequences to read arbitrary local files, which are written into the output content when save_to_disk or push_to_hub is called.

Generated by AI from reports · Updated 5 days ago

Progress timeline

Oct 3
  1. GitHub 安全公告
    Hugging Face Datasets folder-based builder has a path traversal vulnerability

    Hugging Face Datasets 5.0.0 and earlier versions have a path traversal vulnerability, fixed in commit f989ef9. The issue is that the folder-based dataset builder does not sufficiently validate the file_name metadata field before concatenating it directly with the dataset directory. An attacker can construct a file_name value with directory traversal sequences to read arbitrary local files, which are written into the output content when save_to_disk or push_to_hub is called.

Related discussion

No discussion links have been collected for this event yet.

Attention trend

New sources per day

1 in 12 days·most 1 (Oct 3)·today 0

  • Oct 3: 1 new sources (1 outlets, 0 accounts)
  • Oct 4: 0 new sources (0 outlets, 0 accounts)
  • Oct 5: 0 new sources (0 outlets, 0 accounts)
  • Oct 6: 0 new sources (0 outlets, 0 accounts)
  • Oct 7: 0 new sources (0 outlets, 0 accounts)
  • Oct 8: 0 new sources (0 outlets, 0 accounts)
  • Oct 9: 0 new sources (0 outlets, 0 accounts)
  • Oct 10: 0 new sources (0 outlets, 0 accounts)
  • Oct 11: 0 new sources (0 outlets, 0 accounts)
  • Oct 12: 0 new sources (0 outlets, 0 accounts)
  • Oct 13: 0 new sources (0 outlets, 0 accounts)
  • Oct 14: 0 new sources (0 outlets, 0 accounts)

Hourly attention

Current attention 36·Peak in the comparable period 36 (Oct 7 12:00)·Change over the comparable past 24 hours 0%

010203040Oct 712:00Oct 810:00Oct 908:00Oct 1006:00