CVE-2025-25295
Description
Label Studio is an open source data labeling tool. A path traversal vulnerability in Label Studio SDK versions prior to 1.0.10 allows unauthorized file access outside the intended directory structure. The flaw exists in the VOC, COCO and YOLO export functionalities. These functions invoke a `download` function on the `label-studio-sdk` python package, which fails to validate file paths when processing image references during task exports. By creating tasks with path traversal sequences in the image field, an attacker can force the application to read files from arbitrary server filesystem locations when exporting projects in any of the mentioned formats. This is authentication-required vulnerability allowing arbitrary file reads from the server filesystem. It may lead to potential exposure of sensitive information like configuration files, credentials, and confidential data. Label Studio versions before 1.16.0 specified SDK versions prior to 1.0.10 as dependencies, and the issue was confirmed in Label Studio version 1.13.2.dev0; therefore, Label Studio users should upgrade to 1.16.0 or newer to mitigate it.
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
- CWE-26: Path Traversal: '/dir/../filename'
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2025-03-03 |
Timeline
- 2025-02-14Published by the CNA16:50 UTC
- 2025-02-14GitHub advisory published (GHSA-rgv9-w7jp-m23g)same day
- 2025-03-03CISA SSVC decision recorded17 days after publication
Exploit and advisory records
GitHub advisory GHSA-rgv9-w7jp-m23g, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI label-studio-sdk | before 1.0.10 | 1.0.10 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| humansignal label-studio |
References
- https://github.com/HumanSignal/label-studio-sdk/commit/4a9715c6b0b619371e89c09ea8d1c86ce5c880df
- https://github.com/HumanSignal/label-studio/security/advisories/GHSA-rgv9-w7jp-m23g
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2025-25295'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2025-25295'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2025-25295'curl 'https://api.contrastcyber.com/cve_products/CVE-2025-25295'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).