{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-37895","id":"CVE-2024-37895","title":"API Key Leak in lobe-chat","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 ","descriptionLong":"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.","published":"2024-06-17T19:28:31.021Z","updated":"2026-10-28T02:30:25.486736122Z","reserved":"2024-06-10T19:54:41.361Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["lobehub lobe-chat"],"affectedProducts":[{"vendor":"lobehub","product":"lobe-chat","defaultStatus":null,"versions":[{"version":"< 0.162.25","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@lobehub/chat","purl":"pkg:npm/%40lobehub/chat","ranges":["<0.162.25"],"fixed":["0.162.25"],"advisory":"GHSA-p36r-qxgx-jq2v"}],"cwes":["CWE-200","CWE-918"],"aliases":["GHSA-p36r-qxgx-jq2v"],"references":[{"url":"https://github.com/lobehub/lobe-chat/security/advisories/GHSA-p36r-qxgx-jq2v","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37895.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37895","tags":["advisory"]},{"url":"https://github.com/lobehub/lobe-chat","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00546,"epssPercentile":0.46565,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-37895","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37895","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-37895","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-p36r-qxgx-jq2v","ok":true,"note":"GHSA-p36r-qxgx-jq2v"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-37895","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}