Ghost (muneeb141) Authentication Bypass via bypass_otp in convert_to_real_user
- State
- Published
- Severity
- 9.3 Critical
- Published
- Nov 16, 2026
- Updated
- Nov 17, 2026
- Reserved
- Nov 16, 2026
Description
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.
| Product | Versions |
|---|---|
| ghost muneeb141 | c731cdf0d0fbcf4fe67ee27199a48ffbbaf3e66b to before 641db34f6456c15f381358e2e631df66ea170842 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | VulnCheck | |
| 3.1 | 9.1 Critical | VulnCheck |
Weaknesses
- CWE-807 Reliance on Untrusted Inputs in a Security Decision
References
- https://github.com/muneeb141/ghost/commit/7023a4a9275e9f359116337fee40651d0165bc34Technical DetailsPatch
- https://github.com/muneeb141/ghost/blob/672dfec9346dfd935c87fdc6ded554014a36d7f4/ghost/api/ghost.py#L182-L190Technical Details
- https://github.com/muneeb141/ghost/blob/672dfec9346dfd935c87fdc6ded554014a36d7f4/ghost/api/ghost.py#L33-L35Technical Details
- https://github.com/muneeb141/ghost/commit/641db34f6456c15f381358e2e631df66ea170842Patch
- VulnCheck Advisory: Ghost (muneeb141) Authentication Bypass via bypass_otp in convert_to_real_userThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.