CVE-2025-59426 lobe-chat has an Open Redirect
MediumCVSS 4.3
EPSS 0.35%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| lobehub @lobehub/chat(npm) | < 1.130.1 | 1.130.1 | Fixed |
| lobehub lobe chat | < 1.130.1 | 1.130.1 | Fixed |
| lobehub lobe-chat | = < 1.130.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| lobehub @lobehub/chat(npm) | < 1.130.1 | 1.130.1 |
| lobehub lobe-chat | = < 1.130.1 | No fix listed |
| lobehub lobe chat | < 1.130.1 | 1.130.1 |
References
- https://github.com/lobehub/lobe-chat/security/advisories/GHSA-xph5-278p-26qx exploit vendor-advisory
- https://github.com/lobehub/lobe-chat/commit/70f52a3c1fadbd41a9db0e699d1e44d9965de445 patch
- https://github.com/lobehub/lobe-chat/blob/aa841a3879c30142720485182ad62aa0dbd74edc/src/app/(backend)/oidc/consent/route.ts#L113-L127 product
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product