Skip to content
MediumVulnerability

CVE-2025-59426: Lobe Chat open redirect in OIDC redirect handling via X-Forwarded-Host

Identifier
CVE-2025-59426
Published
Record updated
View JSON
Affected
  • @lobehub/chat < 1.130.1
Fixed in
1.130.1
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Lobe Chat, an open-source AI chat framework, is affected by CVE-2025-59426 in versions prior to 1.130.1. Its OIDC redirect handling builds the final redirect URL's host and protocol from the X-Forwarded-Host or Host headers and the X-Forwarded-Proto value. Where a reverse proxy forwards client-supplied X-Forwarded-* headers unchanged, or the origin trusts them without validation, an attacker can inject an arbitrary host and redirect users to a malicious domain.

Mitigation

Fixed in 1.130.1.