# CVE-2023-47117: Label Studio Object Relational Mapper Leak Vulnerability in Filtering Task

Source: https://junglewise.ai/threats/cve-2023-47117-label-studio-object-relational-mapper-leak-vulnerability-in  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-11-13  
License: CC BY 4.0 with a link back

CVE-2023-47117 · Severity: low · CVSS 3.1 · Published 2023-11-13

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.

Technologies: [label-studio (PyPI)](https://junglewise.ai/threats/technologies/label-studio). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2023-47117 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-47117 being exploited in the wild.

**How severe is CVE-2023-47117?** Low severity, with a CVSS score of 3.1, published 13 November 2023.

**Which products and versions are affected?** label-studio (PyPI) ECOSYSTEM:introduced=0,fixed=1.9.2.post0, GIT:introduced=0,fixed=f931d9d129002f54a495995774ce7384174cef5c|ECOSYSTEM:introduced=0,fixed=1.9.2.

**Is there a fix for CVE-2023-47117?** Yes. label-studio (PyPI): upgrade to 1.9.2, 1.9.2.post0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-47117?** Check whether you run label-studio (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- label-studio (PyPI): upgrade to 1.9.2, 1.9.2.post0 or later

  ```sh
  pip install "label-studio>=1.9.2.post0"
  ```


## Affected products

- label-studio (PyPI) ECOSYSTEM:introduced=0,fixed=1.9.2.post0, GIT:introduced=0,fixed=f931d9d129002f54a495995774ce7384174cef5c|ECOSYSTEM:introduced=0,fixed=1.9.2

## Identifiers

- CVE-2023-47117
- GHSA-6hjj-gq77-j4qw
- PYSEC-2023-275

## Related threats

- [Label Studio stored XSS in custom_hotkeys with account takeover](https://junglewise.ai/threats/cve-2026-22033-label-studio-stored-xss-in-custom-hotkeys-with-account-takeover)
- [PYSEC-2026-1503 - Label Studio allows Server-Side Request Forgery in the S3 Storage Endpoint](https://junglewise.ai/threats/cve-2025-25297-label-studio-allows-server-side-request-forgery-in-the-s3-storage)
- [PYSEC-2026-1504 - Label Studio allows Cross-Site Scripting (XSS) via GET request to `/projects/upload-example` endpoint](https://junglewise.ai/threats/cve-2025-25296-label-studio-allows-cross-site-scripting-xss-via-get-request-to)
- [HumanSignal Label Studio reflected XSS in label_config parameter](https://junglewise.ai/threats/cve-2025-47783-humansignal-label-studio-reflected-xss-in-label-config-parameter)
- [Label Studio vulnerable to Cross-site Scripting if `<Choices>` or `<Labels>` are used in labeling config](https://junglewise.ai/threats/cve-2024-26152-label-studio-vulnerable-to-cross-site-scripting-if-choices-or)
