CVE-2024-37895 json
API Key Leak in lobe-chat
published 2024-06-17 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-2115 , GHSA-p36r-qxgx-jq2v
- cvss
- 5.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @lobehub/chat 0.162.25
- lobehub lobe_chat 0.162.25
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/lobehub/lobe-chat/security/advisories/GHSA-p36r-qxgx-jq2v referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @lobehub/chat | <0.162.25 |
0.162.25 |
Affected products
- lobehub lobe-chat
Classification
References
-
github.com
/lobehub/lobe-chat/security/advisories/GHSA-p36r-qxgx-jq2v
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-37895
advisory
-
github.com
/lobehub/lobe-chat
package
Sources
- CVE List CVE-2024-37895
- GitHub Advisory GHSA-p36r-qxgx-jq2v
- NVD CVE-2024-37895
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.