{"id":"CVE-2025-59426","title":"Lobe Chat is an open-source artificial intelligence chat framework","summary":"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 hea…","severity":"medium","cvss":4.3,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","cwe":["CWE-601"],"vendor":"lobehub","product":"lobe_chat","affected":["lobe_chat < 1.130.1"],"patched":["lobe_chat 1.130.1"],"published":"2025-09-25","updated":"2026-09-30","sourceUpdated":"2026-09-30T23:10:00.237","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-59426","references":[{"url":"https://github.com/lobehub/lobe-chat/blob/aa841a3879c30142720485182ad62aa0dbd74edc/src/app/(backend)/oidc/consent/route.ts#L113-L127","label":"security-advisories@github.com"},{"url":"https://github.com/lobehub/lobe-chat/commit/70f52a3c1fadbd41a9db0e699d1e44d9965de445","label":"security-advisories@github.com"},{"url":"https://github.com/lobehub/lobe-chat/security/advisories/GHSA-xph5-278p-26qx","label":"security-advisories@github.com"},{"url":"https://github.com/lobehub/lobe-chat/security/advisories/GHSA-xph5-278p-26qx","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"tags":["nvd"],"epss":0.00323,"epssPercentile":0.2296,"ingestedAt":"2026-09-30T23:29:32.403Z","slug":"CVE-2025-59426","body":"## Overview\n\nLobe 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.\n\n## Affected\n\n- `lobe_chat < 1.130.1`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `lobe_chat 1.130.1`","depth":"sunlit","depthScore":24,"depthScoreParts":{"impact":23.7,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}