ZeroHour

CVE-2026-86117

moderate

Authentication bypass in Coolify OAuth login enables 2FA-free account takeover

CVSS 4.0
9.2 critical
EPSS
<1%p36
Published
()
Modified
AI analysis

Coolify versions through 4.3.17 mishandle the OAuth login callback, signing users into existing accounts based solely on a matching email address without verifying the provider's assertions or binding OAuth identities to accounts. An attacker who registers the victim's email address on any OAuth provider enabled on the instance can complete the OAuth flow and be signed in as that user without knowing their password, bypassing two-factor authentication. This gives the attacker full control of the victim's Coolify account, including the ability to manage applications and deployments on the servers connected to it. Any deployment running 4.3.17 or earlier is affected, but only instances that have at least one OAuth login provider enabled are exposed to this attack path; instances using password-only authentication are not. No public proof-of-concept or in-the-wild exploitation is known, and EPSS currently estimates about a 0.4% probability of exploitation within 30 days.

What to do: Upgrade to a Coolify release newer than 4.3.17 as soon as a patched version is available (check the vendor's advisory and GitHub releases). As an interim mitigation, disable OAuth login providers and require password authentication, then review user accounts for unexpected logins or active sessions. Admins of multi-user instances should prioritize patching, since a takeover yields full control of the account and the deployment targets connected to it.

Affected
Coolify (self-hosted application deployment platform)through 4.3.17 (all versions up to and including 4.3.17)
Estimated exposure
moderateplausibly on the order of tens of thousands of self-hosted instances in total, with only the subset that has OAuth login enabled (likely thousands) directly… — Coolify is a widely adopted open-source self-hosted PaaS with no central install telemetry, but public internet-wide scans have historically found only a few thousand exposed instances, and the flaw additionally requires OAuth providers to…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Coolify through 4.3.17 contains an authentication bypass vulnerability in the OAuth callback handler that signs users into existing accounts based solely on email address without verifying provider assertions or binding OAuth identities. Attackers can register a victim's email address on any enabled OAuth provider to obtain authenticated sessions as that user, bypassing password requirements and two-factor authentication.

Weakness
CWE-287
Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.