Executive brief
Coolify is an open-source platform-as-a-service tool that allows users to deploy applications and services on their own servers. The vulnerability allows attackers to gain unauthorized access to any user account by registering that user's email address with an external OAuth provider (such as Google or GitHub), completely bypassing password and two-factor authentication. This could lead to account takeover and unauthorized access to deployed applications and infrastructure.
Technical details
The vulnerability is an authentication bypass in the OAuth callback handler (OauthController.php) that fails to verify OAuth provider assertions or bind OAuth identities. The vulnerable code accepts any OAuth response containing an email address and either logs in an existing user with that email or creates a new account, without verifying that the email was actually validated by the OAuth provider or that the user owns it. An attacker can register a victim's email on any enabled OAuth provider and use that to authenticate as the victim. This requires no authentication and only requires network access to the Coolify instance with OAuth login enabled. A patch is available in later versions.
Affected products
- Coolify Coolify through 4.3.17
Timeline
- 2026-09-05: disclosed