Skip to content
OpenAdvisories
Medium · 4.3 CVE-2025-59426 EUVD-2025-31072GHSA-xph5-278p-26qx

lobe-chat has an Open Redirect

Published Sep 25, 2025 · Updated Sep 25, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
lobehub lobe-chat < 1.130.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @lobehub/chat < 1.130.1 1.130.1 GHSA-xph5-278p-26qx

References