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

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.59%, higher than 76% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-11-09T14:42:40.750Z
- Modified: 2026-06-17T06:26:27.070Z
- Also known as: GHSA-f475-x83m-rx5m, PYSEC-2023-274
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- HumanSignal label-studio: <= 1.8.1
- label-studio (PyPI): before 1.8.2; before 3d06c5131c15600621e08b06f07d976887cde81b
- humansignal label_studio: before 1.8.2

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/HumanSignal/label-studio/security/advisories/GHSA-f475-x83m-rx5m> (exploit, advisory, vendor-advisory, web)
- <https://github.com/HumanSignal/label-studio/pull/4690> (fix, patch, web)
- <https://github.com/HumanSignal/label-studio/commit/3d06c5131c15600621e08b06f07d976887cde81b> (fix, patch, web)
- <https://github.com/HumanSignal/label-studio/releases/tag/1.8.2> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-43791> (advisory)
- <https://github.com/HumanSignal/label-studio> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/label-studio/PYSEC-2023-274.yaml> (web)

## Sources

- CVE List: [CVE-2023-43791](https://www.cve.org/CVERecord?id=CVE-2023-43791), CVE Terms of Use, modified 2024-09-03
- GitHub Advisory Database: [GHSA-f475-x83m-rx5m](https://github.com/advisories/GHSA-f475-x83m-rx5m), CC-BY-4.0, modified 2024-11-22
- NVD: [CVE-2023-43791](https://nvd.nist.gov/vuln/detail/CVE-2023-43791), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-274](https://osv.dev/vulnerability/PYSEC-2023-274), CC-BY-4.0, modified 2024-11-21

---

Page: https://cve.day/CVE-2023-43791 · Whole record: https://cve.day/CVE-2023-43791.json · Rebuilt by cve.day 2026-11-25T22:58:30.270Z
