CVE-2026-130070: Ghost (muneeb141) Authentication Bypass via bypass_otp in convert_to_real_user
Ghost by muneeb141 on the main branch from commit c731cdf through commit 672dfec contains an authentication bypass vulnerability in the whitelisted ghost.api.ghost.converttorealuser method that allows unauthenticated attackers to skip OTP verification by setting the client-supplied bypassotp parameter. Attackers can obtain a ghost session from the guest-accessible createghostsession endpoint, then call converttorealuser with an arbitrary realemail and bypassotp=1 to receive OAuth tokens for existing accounts and take them over.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments of muneeb141 Ghost on the main branch from commit c731cdf through commit 672dfec are affected. The issue is reachable through the guest-accessible create_ghost_session endpoint and the whitelisted convert_to_real_user method.
What does an attacker need to exploit this issue?
No authentication, user interaction, or valid OTP is required. An attacker can create a ghost session, supply an arbitrary existing account email to convert_to_real_user, and set bypass_otp=1.
What is the impact of successful exploitation?
An attacker can receive OAuth tokens for an existing account identified by the supplied real_email. This enables takeover of that account.
How can I tell whether an instance is vulnerable?
Check whether the deployed main-branch code falls between commits c731cdf and 672dfec, and whether convert_to_real_user accepts the client-supplied bypass_otp parameter. The referenced fix commit is 7023a4a9275e9f359116337fee40651d0165bc34.