# CVE-2023-47116: Label Studio SSRF on Import Bypassing `SSRF_PROTECTION_ENABLED` Protections

Source: https://junglewise.ai/threats/cve-2023-47116-label-studio-ssrf-on-import-bypassing-ssrf-protection-enabled  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-01-31  
License: CC BY 4.0 with a link back

CVE-2023-47116 · Severity: low · CVSS 3.1 · Published 2024-01-31

Label Studio is a popular open source data labeling tool. The vulnerability affects all versions of Label Studio prior to 1.11.0 and was tested on version 1.8.2. Label Studio's SSRF protections that can be enabled by setting the `SSRF_PROTECTION_ENABLED` environment variable can be bypassed to access internal web servers. This is because the current SSRF validation is done by executing a single DNS lookup to verify that the IP address is not in an excluded subnet range. This protection can be bypassed by either using HTTP redirection or performing a DNS rebinding attack.

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

## Quick answers

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

**How severe is CVE-2023-47116?** Low severity, with a CVSS score of 3.1, published 31 January 2024.

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

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

**Am I affected by CVE-2023-47116?** 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.11.0 or later

  ```sh
  pip install "label-studio>=1.11.0"
  ```


## Affected products

- label-studio (PyPI) ECOSYSTEM:introduced=0,fixed=1.11.0, GIT:introduced=0,fixed=55dd6af4716b92f2bb213fe461d1ffbc380c6a64|ECOSYSTEM:introduced=0,fixed=1.11.0

## Identifiers

- CVE-2023-47116
- GHSA-p59w-9gqw-wj8r
- PYSEC-2024-127

## 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)
