Skip to main content

Ghost authentication app EUVDEUVD-2026-126723

| CVE-2026-130070 CRITICAL
Reliance on Untrusted Inputs in a Security Decision (CWE-807)
2026-11-16 VulnCheck GHSA-r5hh-7566-f3p3
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Call guest create_ghost_session for a session
  2. Exploit
    Invoke convert_to_real_user with victim real_email
  3. Execution
    Set bypass_otp=1 to skip OTP verification
  4. Impact
    Receive 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Ghost c731cdf0d0fbcf4fe67ee27199a48ffbbaf3e66b <641db34f6456c15f381358e2e631df66ea170842

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

Vendor (VulnCheck) PRIMARY 9.3 CRITICAL
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
vuln.today AI 9.1 CRITICAL

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).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 62% exploitable
Prevalence
Rare
pre-release Frappe auth app on main branch, not a published release
Social Media
2
Sightings
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Ghost

View all
CVE-2026-22594 HIGH POC
8.1 Jan 10

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

CVE-2026-29053 HIGH POC
7.6 Mar 05

Arbitrary code execution in Ghost CMS versions 0.7.2 through 6.19.0 allows authenticated attackers with theme upload pri

CVE-2022-28397 CRITICAL POC
9.8 Apr 12

An arbitrary file upload vulnerability in the file upload module of Ghost CMS v4.42.0 allows attackers to execute arbitr

CVE-2022-27139 CRITICAL POC
9.8 Apr 12

An arbitrary file upload vulnerability in the file upload module of Ghost v4.39.0 allows attackers to execute arbitrary

CVE-2026-26980 CRITICAL POC
9.4 Feb 20

SQL injection in Ghost CMS versions 3.24.0 through 6.19.0 allows unauthenticated attackers to read arbitrary database da

CVE-2024-34451 CRITICAL POC
9.1 Jun 16

Ghost through 5.85.1 allows remote attackers to bypass an authentication rate-limit protection mechanism by using many X

CVE-2024-23724 CRITICAL POC
9.0 Feb 11

Ghost through 5.76.0 allows stored XSS, and resultant privilege escalation in which a contributor can take over any acco

CVE-2024-34448 HIGH POC
8.8 May 22

Ghost before 5.82.0 allows CSV Injection during a member CSV export. Rated high severity (CVSS 8.8), this vulnerability

CVE-2020-8134 HIGH POC
8.1 Mar 20

Server-side request forgery (SSRF) vulnerability in Ghost CMS < 3.10.0 allows an attacker to scan local or external netw

CVE-2026-53950 HIGH POC
7.5 Jun 24

Cross-site scripting (JavaScript injection) in Ghost's ActivityPub client (@tryghost/activitypub) prior to version 3.1.0

CVE-2023-32235 HIGH POC
7.5 May 05

Ghost before 5.42.1 allows remote attackers to read arbitrary files within the active theme's folder via /assets/built%2

CVE-2021-29484 MEDIUM POC
6.8 Apr 29

Ghost is a Node.js CMS. Rated medium severity (CVSS 6.8), this vulnerability is remotely exploitable, no authentication

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy