Vulnerability library
Security checkJune 17, 2024

Lobe Chat API Key Leak

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpm@lobehub/chat

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the @lobehub/chat package to the latest compatible version. Followings are version details:

  • Affected version(s): < 0.162.25
  • Patched version(s): 0.162.25

References

Could your website be exposed too?

SmartScanner can check your website for Lobe Chat API Key Leak and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated June 17, 2024