Skip to main content
Vulnerability Database/CVE-2026-104412

CVE-2026-104412: Ghost CMS Privilege Escalation Vulnerability

CVE-2026-104412 is a privilege escalation flaw in Ghost CMS versions 0.5.0 through 6.64.0 that allows Editor and Super Editor users to improperly assign elevated roles to other staff members. This article covers technical details, affected versions, security impact, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-104412 Overview

CVE-2026-104412 is a privilege escalation vulnerability in Ghost, the open-source publishing platform. Versions 0.5.0 through versions before 6.64.0 fail to correctly restrict staff role assignments. Authenticated users holding the Editor or Super Editor role can assign their own role to other staff accounts, even though the role model does not grant them that permission. The flaw maps to CWE-269: Improper Privilege Management.

Critical Impact

An authenticated Editor or Super Editor can promote Author and Contributor users to Editor or Super Editor, expanding the pool of accounts that hold elevated publishing and user-management capabilities.

Affected Products

  • Ghost versions 0.5.0 through versions before 6.64.0
  • Self-hosted Ghost deployments running vulnerable versions
  • Ghost(Pro) and managed instances pinned to vulnerable releases

Discovery Timeline

  • 2026-10-02 - CVE-2026-104412 published to the National Vulnerability Database
  • 2026-10-06 - Record last modified in NVD

Technical Details for CVE-2026-104412

Vulnerability Analysis

Ghost enforces a staff role hierarchy that governs who may invite, modify, or promote other users. The staff role assignment logic does not correctly validate that the acting user has permission to grant a target role. As a result, an Editor or Super Editor can assign their own role tier to lower-privileged staff accounts, bypassing the intended role boundary.

Successful exploitation produces horizontal and vertical privilege growth. Promoted Editor accounts gain the ability to manage additional content, publish on behalf of other authors, and in turn invite or escalate further staff. This widens the blast radius if any single Editor account is compromised through phishing, credential stuffing, or session theft.

Root Cause

The root cause is an authorization check gap in the role assignment code path. The server trusts the role value supplied in the staff update request without re-verifying that the requesting user is entitled to grant that role. The intended privilege model restricts role promotion to Administrators and Owners, but the enforcement is incomplete for the Editor and Super Editor tiers.

Attack Vector

Exploitation requires an authenticated session as an Editor or Super Editor and network access to the Ghost Admin API. The attacker issues a staff update request against a target Author or Contributor account and sets the role to Editor or Super Editor. No user interaction from the target is required. The vulnerability is described in the GitHub Security Advisory GHSA-4pvx-fwjj-8gpc and the VulnCheck Advisory on Ghost Privilege Escalation.

// No verified exploit code is published. See the referenced advisories
// for technical details on the vulnerable role assignment path.

Detection Methods for CVE-2026-104412

Indicators of Compromise

  • Audit log entries showing Author or Contributor accounts promoted to Editor or Super Editor by a non-Administrator user.
  • Staff role changes performed outside of normal change-management windows or by accounts that do not typically manage users.
  • Unexpected new content, published posts, or draft activity from recently promoted accounts.

Detection Strategies

  • Review the Ghost users and roles_users tables for recent role changes and correlate the updated_by field with the actor's role at the time of change.
  • Alert on Admin API requests to staff endpoints that modify the roles property when the authenticated session belongs to an Editor or Super Editor.
  • Compare role assignments against an approved baseline of Administrators to surface drift.

Monitoring Recommendations

  • Forward Ghost application and reverse-proxy logs to a centralized log pipeline for retention and correlation.
  • Monitor authentication telemetry for Editor and Super Editor accounts, flagging logins from new geographies, hosting providers, or anonymizing networks.
  • Track invitation and role-change events as high-value audit signals and route them to the security operations queue.

How to Mitigate CVE-2026-104412

Immediate Actions Required

  • Upgrade Ghost to version 6.64.0 or later across all self-hosted and managed instances.
  • Audit the current staff roster and demote any accounts that were promoted without authorization.
  • Rotate session secrets and force re-authentication for all staff accounts after upgrading.

Patch Information

The fix is included in Ghost 6.64.0. The GitHub Security Advisory GHSA-4pvx-fwjj-8gpc tracks the patched release and the corrective change to the staff role assignment logic. Operators of Ghost(Pro) should confirm that the managed service has been updated.

Workarounds

  • Restrict Editor and Super Editor assignments to trusted staff and reduce their count until the upgrade is complete.
  • Place the Ghost Admin interface behind a VPN or IP allowlist to limit exposure of the staff management endpoints.
  • Enforce multi-factor authentication at the identity provider or reverse proxy layer for all staff accounts.
bash
# Upgrade a self-hosted Ghost instance using Ghost-CLI
ghost update 6.64.0
ghost ls

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.