Ghost by muneeb141 on the main branch from commit c731cdf through commit 672dfec contains an authentication bypass vulnerability in the whitelisted ghost.api.ghost.convert_to_real_user method that allows unauthenticated attackers to skip OTP verification by setting the client-supplied bypass_otp parameter. Attackers can obtain a ghost session from the guest-accessible create_ghost_session endpoint, then call convert_to_real_user with an arbitrary real_email and bypass_otp=1 to receive OAuth tokens for existing accounts and take them over.
https://github.com/muneeb141/ghost/commit/7023a4a9275e9f359116337fee40651d0165bc34
https://github.com/muneeb141/ghost/commit/641db34f6456c15f381358e2e631df66ea170842