Skip to content
MediumVulnerabilityLLM-specific

CVE-2024-37895: Lobe Chat leaks backend API key via attacker-controlled base URL

Identifier
CVE-2024-37895
Published
Record updated
View JSON
Affected
  • @lobehub/chat < 0.162.25
Fixed in
0.162.25
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Lobe Chat, an open-source LLM and AI chat framework, exposes its real backend API Key in affected versions. An attacker who successfully authenticates through SSO or Access Code can change the frontend base URL to an attacker-controlled URL and set up a server-side request to receive the key.

Mitigation

This issue has been addressed in version 0.162.25. Users are advised to upgrade.