Security Advisory

CVE-2025-25295: Label Studio Path Traversal via Image Field in Export

Path traversal in Label Studio SDK export functionality allows authenticated arbitrary file reads through crafted image field values.

Overview

Label Studio is an open source data labeling tool. Its VOC, COCO and YOLO export paths call a download function in the label-studio-sdk package to fetch task images, and that function does not validate the path it is given.

An authenticated user creates a task whose image field contains traversal sequences, then exports the project. The export reads arbitrary files from the server and bundles them into the output. Label Studio 1.16.0 pins SDK 1.0.10, which fixes the issue.

Affected products

  • label-studio-sdk before 1.0.10
  • Label Studio before 1.16.0 (confirmed on 1.13.2.dev0)

Disclosure timeline

06 Feb 2025
CVE-2025-25295 reserved
13 Feb 2025
HumanSignal releases Label Studio 1.16.0 with SDK 1.0.10 and the fix
14 Feb 2025
GitHub advisory and CVE published