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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| muneeb141 | ghost | >= c731cdf0d0fbcf4fe67ee27199a48ffbbaf3e66b, < 641db34f6456c15f381358e2e631df66ea170842 |
References
- https://github.com/muneeb141/ghost/blob/672dfec9346dfd935c87fdc6ded554014a36d7f4/ghost/api/ghost.py#L182-L190
- https://github.com/muneeb141/ghost/blob/672dfec9346dfd935c87fdc6ded554014a36d7f4/ghost/api/ghost.py#L33-L35
- https://github.com/muneeb141/ghost/commit/641db34f6456c15f381358e2e631df66ea170842
- https://github.com/muneeb141/ghost/commit/7023a4a9275e9f359116337fee40651d0165bc34
- https://www.vulncheck.com/advisories/ghost-muneeb141-authentication-bypass-via-bypass-otp-in-convert-to-real-user
Timeline
- Published
- Nov 16, 2026
- Last modified
- Nov 17, 2026
- NVD status
- Received