Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCall guest create_ghost_session for a session
-
ExploitInvoke convert_to_real_user with victim real_email
-
ExecutionSet bypass_otp=1 to skip OTP verification
-
ImpactReceive OAuth tokens and take over account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Trusted input validation
|
| Exploitation Conditions | Exploitation is unauthenticated and remote (the create_ghost_session endpoint is guest-accessible and convert_to_real_user is whitelisted), with the concrete prerequisite being the attacker passes the client-supplied bypass_otp=1 parameter plus an arbitrary real_email of an existing account. The vendor's hardening notes state credential/token issuance is 'subject to configured Ghost/OAuth prerequisites', so a configured OAuth client must be present for tokens to be returned, and the target account must already exist. Limiting factors that constrain real-world risk: only deployments running the affected main-branch commits c731cdf through 672dfec are vulnerable, the software is an unreleased repair candidate rather than a shipped product, and the attacker must know or supply a valid existing victim email to receive its tokens. |
| Impact | The technical severity is unambiguously critical: the input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H) with a 9.3 score describes a network-reachable, low-complexity, unauthenticated, no-interaction flaw that yields high confidentiality and integrity impact via full account takeover, and the vuln.today decision label is act_now. These signals agree that exploitation is trivial once the affected code is reachable. However, several high-urgency signals are absent rather than present: no EPSS probability is supplied, there is no CISA KEV listing, and no PoC/exploit line is provided - only a VulnCheck advisory and GitHub links to the vulnerable source lines, which lower the research barrier but are not verified working exploit code. The strongest counterweight is prevalence: this 'Ghost' is muneeb141's pre-release Frappe authentication app on the main branch (explicitly 'not a published release'), not the widely deployed Ghost blogging CMS, so real-world deployment footprint is very small. Net: a maximally exploitable bug (honor the act_now label and patch immediately if running the affected commits) but one whose real-world attack surface is narrow due to the obscurity and pre-release status of the product, not any difficulty of exploitation. |
| Exploit ScenarioDerived | An unauthenticated attacker calls the guest-accessible create_ghost_session endpoint to obtain a ghost session, then invokes the whitelisted ghost.api.ghost.convert_to_real_user method supplying an arbitrary victim real_email together with the client-controlled bypass_otp=1 flag. Because the server trusts that client-supplied flag to skip OTP verification (CWE-807), it returns OAuth tokens for the existing target account, handing the attacker full control. No PoC/exploit line is present in the input, so no working exploit code is confirmed; the VulnCheck advisory and published vulnerable source lines are available as references. The CVSS vector (AV:N/AC:L/PR:N/UI:N) means this requires only network access, no privileges, and no user interaction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 16, 2026
Account takeover in the Ghost authentication app for Frappe (main branch, commits c731cdf through 672dfec) lets unauthenticated remote attackers obtain OAuth tokens for any existing account by calling the whitelisted ghost.api.ghost.convert_to_real_user method with a victim's real_email and a client-supplied bypass_otp=1 value, after first collecting a session from the guest-accessible create_ghost_session endpoint. The flaw is scored 9.3 (CVSS 4.0 AV:N/AC:L/PR:N/UI:N with high confidentiality and integrity impact; independently assessed as CVSS 3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N) and carries an act_now priority decision. Exploitation is constrained by deployment reality rather than by attacker effort: only sites tracking the affected main-branch commit window are exposed, and token issuance is subject to configured Ghost/OAuth prerequisites, so an OAuth client must be present and the attacker must supply an existing account's email. No public exploit code or confirmed active exploitation is identified at time of analysis; the vendor has published fix commits.
RemediationAI
Apply the upstream fix commits referenced by the CVE record: 7023a4a9275e9f359116337fee40651d0165bc34 and 641db34f6456c15f381358e2e631df66ea170842 (https://github.com/muneeb141/ghost/commit/7023a4a9275e9f359116337fee40651d0165bc34 and https://github.com/muneeb141/ghost/commit/641db34f6456c15f381358e2e631df66ea170842); these are upstream commits, and a tagged release version is not independently confirmed, so pin to a commit at or after them rather than to a version label. The fix commit adds docs/AUTHENTICATION_HARDENING.md, which defines the repaired contract: the client-supplied bypass_otp path is rejected, OTP is mandatory for conversion, provider verification is moved into a private function, and public email input to create_ghost_session is rejected in favour of a full random server-generated identity. Where the fix cannot be applied immediately, the interim options are to remove the whitelisting that exposes ghost.api.ghost.convert_to_real_user to unauthenticated callers or otherwise block that method at the site/reverse-proxy layer, and to block the guest create_ghost_session endpoint - both break anonymous-identity conversion flows for legitimate consumers, and the second breaks any client relying on anonymous Ghost sessions. Because the vendor states installation alone leaves Ghost OTP login off and requires explicitly enabling it plus outgoing email delivery and an email OTP template, sites that never enabled OTP login should confirm whether this conversion path is reachable in their configuration before assuming exposure; conversely sites that did enable it, and that have an OAuth client configured so tokens are returned, should treat existing accounts as compromised-capable and review sessions and OAuth tokens for unexpected issuance. No vendor advisory names a workaround beyond the fix itself.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Ghost is a reusable Frappe authentication app that owns OTP proof, anonymous identities, sessions, credential issuance and controlled identity conversion, while Frappe itself owns User, Role, session and OAuth records. The root cause class is CWE-807, Reliance on Untrusted Inputs in a Security Decision: the whitelisted server method ghost.api.ghost.convert_to_real_user (ghost/api/ghost.py, around lines 182-190, with the whitelist registration near lines 33-35) makes an authorization decision based on the client-supplied bypass_otp parameter instead of requiring a server-side proof that the caller controls the target mailbox. Because create_ghost_session is guest-accessible, an anonymous user can obtain a Ghost session without proving any email ownership, then invoke the conversion method with an arbitrary real_email and the bypass flag set to skip the OTP step entirely, receiving credentials for a pre-existing account. The vendor's own hardening document confirms the intended model: conversion must require that the source actor equals the authenticated anonymous account and that target proof exists, public OTP bypass must be rejected, and the OTP must be mandatory with provider verification confined to a private function. The same document also notes that the reviewed base source contains related defects (existing-email guest session issuance, magic-link secret returned in HTTP responses, fingerprints treated as credentials, non-atomic OTP consumption), and that the repair candidate is a local security fix, not a published release or a full security audit.
Know when Ghost gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Guest-accessible endpoint and a trusted client-supplied bypass_otp flag give AV:N/AC:L/PR:N/UI:N; account takeover yields C:H/I:H, with no availability impact and no cross-component scope change (S:U).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
CVE-2026-130070 is a critical authentication bypass in the Ghost app for Frappe that allows unauthenticated attackers to take full control of any user account, including administrative accounts, on affected deployments. This gives attackers the same access as the compromised user, potentially exposing sensitive data, enabling fraudulent transactions, and undermining trust in the platform. Leadership should care because exploitation requires no credentials and can lead to widespread account compromise, data breaches, and operational disruption if the affected commits are in use.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Ghost CMS versions 5.105.0-5.130.5 and 6.0.0-6.10.3 contain an authentication bypass in their two-factor authentication
Arbitrary code execution in Ghost CMS versions 0.7.2 through 6.19.0 allows authenticated attackers with theme upload pri
An arbitrary file upload vulnerability in the file upload module of Ghost CMS v4.42.0 allows attackers to execute arbitr
An arbitrary file upload vulnerability in the file upload module of Ghost v4.39.0 allows attackers to execute arbitrary
SQL injection in Ghost CMS versions 3.24.0 through 6.19.0 allows unauthenticated attackers to read arbitrary database da
Ghost through 5.85.1 allows remote attackers to bypass an authentication rate-limit protection mechanism by using many X
Ghost through 5.76.0 allows stored XSS, and resultant privilege escalation in which a contributor can take over any acco
Ghost before 5.82.0 allows CSV Injection during a member CSV export. Rated high severity (CVSS 8.8), this vulnerability
Server-side request forgery (SSRF) vulnerability in Ghost CMS < 3.10.0 allows an attacker to scan local or external netw
Cross-site scripting (JavaScript injection) in Ghost's ActivityPub client (@tryghost/activitypub) prior to version 3.1.0
Ghost before 5.42.1 allows remote attackers to read arbitrary files within the active theme's folder via /assets/built%2
Ghost is a Node.js CMS. Rated medium severity (CVSS 6.8), this vulnerability is remotely exploitable, no authentication
EUVD-2026-126723
GHSA-r5hh-7566-f3p3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB