CVE-2023-47117 Object Relational Mapper Leak Vulnerability in Filtering Task in Label Studio
Attackers can leak sensitive user data and forge session tokens via ORM filter manipulation, leading to account takeover.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-47117?
CVE-2023-47117 is a high-severity vulnerability in HumanSignal label-studio, published on 13 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Label Studio is an open source data labeling tool. In all current versions of Label Studio prior to 1.9.2post0, the application allows users to insecurely set filters for filtering tasks. An attacker can construct a filter chain to filter tasks based on sensitive fields for all user accounts on the platform by exploiting Django's Object Relational Mapper (ORM). Since the results of query can be manipulated by the ORM filter, an attacker can leak these sensitive fields character by character. In addition, Label Studio had a hard coded secret key that an attacker can use to forge a session token of any user by exploiting this ORM Leak vulnerability to leak account password hashes. This vulnerability has been addressed in commit `f931d9d129` which is included in the 1.9.2post0 release. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Weakness: CWE-200
Which versions are affected by CVE-2023-47117?
3 open source packages ship an affected version, including label-studio. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
label-studio PyPI | All versions | 1.9.2 |
label-studio PyPI | All versions | 1.9.2.post0 |
label-studio PyPI | All versions | 1.9.2.post0 |
Products include Humansignal Label Studio.
How do I fix CVE-2023-47117?
Upgrade label-studio to a fixed version for your release line: 1.9.2 or 1.9.2.post0.
Is CVE-2023-47117 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-47117 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in HumanSignal label-studio
- CVE-2023-43791 Label Studio has Hardcoded Django `SECRET_KEY` that can be Abused to Forge Session Tokens
- CVE-2026-22033 Label Studio vulnerable to full account takeover by chaining Stored XSS + IDOR in User Profile via custom_hotkeys field
- CVE-2025-25297 Label Studio allows Server-Side Request Forgery in the S3 Storage Endpoint
- CVE-2025-47783 label-studio vulnerable to Cross-Site Scripting (Reflected) via the label_config parameter.
- CVE-2023-47115 Label Studio XSS Vulnerability on Avatar Upload
Sources
Also known as GHSA-6hjj-gq77-j4qw, PYSEC-2023-275.