CVE-2025-59426
MEDIUM 4.3CVSS 3.1lobe-chat has an Open Redirect
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.
- Published
- 25 Sep 2025
- Last modified
- 11 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-601
- Also known as
- GHSA-xph5-278p-26qx
- Sources
- NVDJSONOSV GHSA-xph5-278p-26qxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lobehub | lobe_chatcpe:2.3:a:lobehub:lobe_chat:*:*:*:*:*:*:*:* |
< 1.130.1 | 1.130.1 |
| OSV | npm | @lobehub/chat | < 1.130.1 | 1.130.1 |
References
- https://github.com/lobehub/lobe-chat/blob/aa841a3879c30142720485182ad62aa0dbd74edc/src/app/(backend)/oidc/consent/route.ts#L113-L127 · Product, WEB
- https://github.com/lobehub/lobe-chat/commit/70f52a3c1fadbd41a9db0e699d1e44d9965de445 · Patch, WEB
- https://github.com/lobehub/lobe-chat/security/advisories/GHSA-xph5-278p-26qx · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-59426 · ADVISORY
- https://github.com/lobehub/lobe-chat · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 25 Sep 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Sep 2025)