Heartex - Label Studio Community Edition vulnerable to SSRF in the Data Import module
Published 4 Oct 2022 · Updated 27 Sept 2024
Is your project on an affected label-studio?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <1.6.0
- Fixed in
- 1.6.0
pip install 'label-studio>=1.6.0'Details
A Server Side Request Forgery (SSRF) in the Data Import module in Heartex - Label Studio Community Edition versions 1.5.0 and earlier allows an authenticated user to access arbitrary files on the system. Furthermore, self-registration is enabled by default in these versions of Label Studio enabling a remote attacker to create a new account and then exploit the SSRF. This issue is fixed in version 1.6.0.
Is GHSA-pc6f-259w-w3j6 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected label-studio, and gives you the command that fixes it.
More advisories for label-studio
- HighCVE-2026-22033Label Studio is vulnerable to full account takeover by chaining Stored XSS + IDOR in User Profile via custom_hotkeys field · 12 Jan 2026
- HighCVE-2025-47783label-studio vulnerable to Cross-Site Scripting (Reflected) via the label_config parameter. · 15 May 2025
- HighCVE-2025-25297Label Studio allows Server-Side Request Forgery in the S3 Storage Endpoint · 14 Feb 2025
- MediumCVE-2025-25296Label Studio allows Cross-Site Scripting (XSS) via GET request to `/projects/upload-example` endpoint · 14 Feb 2025
- MediumCVE-2024-26152Label Studio vulnerable to Cross-site Scripting if `<Choices>` or `<Labels>` are used in labeling config · 22 Feb 2024
- MediumCVE-2023-47116Label Studio SSRF on Import Bypassing `SSRF_PROTECTION_ENABLED` Protections · 31 Jan 2024
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2022-36551
- Linkgithub.com/heartexlabs/label-studio/pull/2840
- Linkgithub.com/heartexlabs/label-studio/commit/501142cb815ac964b0c600c491885b67386870c2
- Packagegithub.com/heartexlabs/label-studio
- Linkgithub.com/heartexlabs/label-studio/releases/tag/1.6.0
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/label-studio/PYSEC-2022-300.yaml
- Linkheartex.com
- Linklabelstud.io
- Linkpacketstormsecurity.com/files/171548/Label-Studio-1.5.0-Server-Side-Request-Forgery.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.