{"id":"CVE-2024-37895","published":"2024-06-17T19:28:31Z","modified":"2024-08-02T03:57:39Z","title":"API Key Leak in lobe-chat","vendor":"lobehub","product":"lobe-chat","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00546,"percentile":0.46698,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/lobehub/lobe-chat/security/advisories/GHSA-p36r-qxgx-jq2v","tags":["x_refsource_CONFIRM"]}],"priority":{"score":13.3,"factors":[{"name":"EPSS percentile","points":9.34},{"name":"CVSS severity","points":3.99}]},"vendorSlug":"lobehub","affectedVersions":[{"vendor":"lobehub","product":"lobe-chat","versions":["< 0.162.25"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-18T14:05:08.874162Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@lobehub/chat","vulnerableRanges":["<0.162.25"],"patched":["0.162.25"],"from":["GHSA-p36r-qxgx-jq2v"],"provenance":"source"}],"summary":{"text":"The flaw is an exposure of sensitive information in lobe-chat, an open-source LLM/AI chat framework from lobehub, where the real backend API key can be disclosed. An attacker who can successfully authenticate through SSO or an Access Code, and who can get a user to interact with the frontend, can change the base URL to an attacker-controlled address and set up a server-side request to obtain the backend API key.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:34Z"},"euvd":{"id":"EUVD-2024-2115","exploited":false,"provenance":"source"}}