CVE-2026-105609: OAuth callback open redirect, login-CSRF, and cross-user state leak
In Eclipse Che versions 7.61.0 through 7.124.0 three related defects in the SCM-OAuth flow, chain into a Medium-severity finding:
1. Open redirect (CWE-601) — EmbeddedOAuthAPI.callback() and the OAuth1 callback issue 307 Temporary Redirect to whatever URL was carried in the redirectafterlogin field of the OAuth state parameter. The value is fully attacker-controlled and never compared against an allow-list of permitted hosts.
2. Missing CSRF nonce in OAuth state (CWE-352) — OAuthAuthenticator.prepareState() builds the state parameter solely by URL-encoding the original request's query string. No random nonce is bound to the user's session, so an attacker can pre-compute a callback URL carrying their own SCM authorization code and have a logged-in victim open it. callback() then stores the attacker's SCM token under the victim's Che identity (personalAccessTokenManager.store(...)).
3. Mutable field on a @Singleton (CWE-362 / CWE-488) — EmbeddedOAuthAPI is @Singleton but stores the per-request redirectafterlogin value into the instance field private String redirectAfterLogin. Any user's authenticate() call overwrites the field for all concurrent users; the accessdenied error-path of callback() then redirects to the last writer's URL.
Affected Software
Event History
Frequently Asked Questions
Which deployments are in scope for this issue?
Eclipse Che versions 7.61.0 through 7.124.0 are affected. The issue is in the SCM-OAuth flow, including the OAuth callback handling.
What does an attacker need to perform the login-CSRF portion of the attack?
An attacker can pre-compute a callback URL containing an SCM authorization code for the attacker’s own account and induce a logged-in victim to open it. Because the OAuth state has no random nonce bound to the victim’s session, the callback can store the attacker’s SCM token under the victim’s Che identity.
What makes the redirect behavior exploitable?
The redirect_after_login value in the OAuth state is attacker-controlled and is not checked against an allow-list of permitted hosts. The affected callbacks issue a 307 redirect to that supplied URL.
Is there a concurrency concern beyond the redirect itself?
Yes. EmbeddedOAuthAPI is a singleton that stores the per-request redirect_after_login value in a mutable instance field, so one user’s authenticate() request can overwrite the value used by concurrent requests from other users.