# CVE-2024-37895: API Key Leak in lobe-chat

- Severity: Medium 5.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- 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): 0.74%, higher than 51% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-17T19:28:31.021Z
- Modified: 2026-09-10T03:50:15.681Z
- Also known as: GHSA-p36r-qxgx-jq2v
- Weaknesses: CWE-200, CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Lobe Chat is an open-source LLMs/AI chat framework. In affected versions if an attacker can successfully authenticate through SSO/Access Code, they can obtain the real backend API Key by modifying the base URL to their own attack URL on the frontend and setting up a server-side request. This issue has been addressed in version 0.162.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- lobehub lobe-chat: < 0.162.25
- @lobehub/chat (npm): before 0.162.25
- lobehub lobe_chat: before 0.162.25

## Every score

- GitHub_M: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/lobehub/lobe-chat/security/advisories/GHSA-p36r-qxgx-jq2v> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-37895> (advisory)
- <https://github.com/lobehub/lobe-chat> (package)

## Sources

- CVE List: [CVE-2024-37895](https://www.cve.org/CVERecord?id=CVE-2024-37895), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-p36r-qxgx-jq2v](https://github.com/advisories/GHSA-p36r-qxgx-jq2v), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-37895](https://nvd.nist.gov/vuln/detail/CVE-2024-37895), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-37895 · Whole record: https://cve.day/CVE-2024-37895.json · Rebuilt by cve.day 2026-11-25T22:58:41.960Z
