lobe-chat has an Open Redirect
Description
Lobe Chat is an open-source artificial intelligence chat framework. Prior to version 1.130.1, the project's OIDC redirect handling logic constructs the host and protocol of the final redirect URL based on the X-Forwarded-Host or Host headers and the X-Forwarded-Proto value. In deployments where a reverse proxy forwards client-supplied X-Forwarded-* headers to the origin as-is, or where the origin trusts them without validation, an attacker can inject an arbitrary host and trigger an open redirect that sends users to a malicious domain. This issue has been patched in version 1.130.1.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@lobehub/chatnpm | < 1.130.1 | 1.130.1 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-xph5-278p-26qxghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-59426ghsaADVISORY
- github.com/lobehub/lobe-chat/blob/aa841a3879c30142720485182ad62aa0dbd74edc/src/app/(backend)/oidc/consent/route.tsghsax_refsource_MISCWEB
- github.com/lobehub/lobe-chat/commit/70f52a3c1fadbd41a9db0e699d1e44d9965de445ghsax_refsource_MISCWEB
- github.com/lobehub/lobe-chat/security/advisories/GHSA-xph5-278p-26qxghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.