Open Redirect Vulnerability in Lobe Chat by Lobe Hub
CVE-2025-59426
4.3MEDIUM
What is CVE-2025-59426?
Lobe Chat, an open-source AI chat framework, contains an open redirect vulnerability prior to version 1.130.1. This issue arises from improper handling of OIDC redirect logic, where the protocol and host of the redirect URL are constructed using potentially unvalidated X-Forwarded-* headers. If a reverse proxy forwards these headers directly without validation, it allows attackers to inject an arbitrary host, directing users to malicious domains. The vulnerability was addressed and patched in version 1.130.1, safeguarding deployments from potential exploitation.
Affected Version(s)
lobe-chat < 1.130.1