CVE-2025-59426

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:lobehub:lobe_chat:*:*:*:*:*:*:*:*

History

08 Oct 2025, 16:11

Type Values Removed Values Added
References () https://github.com/lobehub/lobe-chat/blob/aa841a3879c30142720485182ad62aa0dbd74edc/src/app/(backend)/oidc/consent/route.ts#L113-L127 - () https://github.com/lobehub/lobe-chat/blob/aa841a3879c30142720485182ad62aa0dbd74edc/src/app/(backend)/oidc/consent/route.ts#L113-L127 - Product
References () https://github.com/lobehub/lobe-chat/commit/70f52a3c1fadbd41a9db0e699d1e44d9965de445 - () https://github.com/lobehub/lobe-chat/commit/70f52a3c1fadbd41a9db0e699d1e44d9965de445 - Patch
References () https://github.com/lobehub/lobe-chat/security/advisories/GHSA-xph5-278p-26qx - () https://github.com/lobehub/lobe-chat/security/advisories/GHSA-xph5-278p-26qx - Exploit, Vendor Advisory
CPE cpe:2.3:a:lobehub:lobe_chat:*:*:*:*:*:*:*:*
First Time Lobehub lobe Chat
Lobehub

25 Sep 2025, 15:16

Type Values Removed Values Added
References () https://github.com/lobehub/lobe-chat/security/advisories/GHSA-xph5-278p-26qx - () https://github.com/lobehub/lobe-chat/security/advisories/GHSA-xph5-278p-26qx -

25 Sep 2025, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-09-25 14:15

Updated : 2025-10-08 16:11


NVD link : CVE-2025-59426

Mitre link : CVE-2025-59426

CVE.ORG link : CVE-2025-59426


JSON object : View

Products Affected

lobehub

  • lobe_chat
CWE
CWE-601

URL Redirection to Untrusted Site ('Open Redirect')