Open redirect via trusted forwarding headers
Published Sep 25, 2025 · Updated Sep 25, 2025
Open redirect in LobeHub LobeChat before 1.130.1 allows remote attackers to send users to malicious domains through OIDC redirects. The OIDC consent route passes a URL through correctOIDCUrl, which replaces its host and protocol with unvalidated X-Forwarded-Host, Host, and X-Forwarded-Proto header values. Exploitation requires a reverse proxy that preserves client-supplied forwarding headers and user interaction with the redirected flow; the redirect supports phishing or credential harvesting but does not expose tokens directly.
Summary
What happened
Open redirect in LobeHub LobeChat before 1.130.1 allows remote attackers to send users to malicious domains through OIDC redirects. The OIDC consent route passes a URL through correctOIDCUrl, which replaces its host and protocol with unvalidated X-Forwarded-Host, Host, and X-Forwarded-Proto header values. Exploitation requires a reverse proxy that preserves client-supplied forwarding headers and user interaction with the redirected flow; the redirect supports phishing or credential harvesting but does not expose tokens directly.
The record
- CVE
- CVE-2025-59426
- Published
- Sep 25, 2025
- Updated
- Sep 25, 2025
- Vendor
- LobeHub
- Product
- LobeChat
- Classifications
- CWE-601, T1566.002
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 25, 2025CVE publishedPublication date reported by the CVE source.
- Sep 25, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 1.130.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-xph5-278p-26qx curl proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo