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

CVE-2026-104416: Ghost CMS Privilege Escalation Vulnerability

CVE-2026-104416 is a privilege escalation flaw in Ghost CMS versions 4.39.0 to 6.64.0 that lets staff users view secret tokens and accept invites for higher-privileged roles. This article covers technical details, affected versions, impact assessment, 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-104416 Overview

CVE-2026-104416 is an information disclosure vulnerability in Ghost, the open-source publishing platform. The flaw affects Ghost versions from 4.39.0 before 6.64.0 and resides in the Admin API. Staff users with permission to view pending invites can read the secret invitation tokens associated with those invites. Because an invite token can be used to accept the invitation and assume the invited role, a low-privileged staff user can accept a pending invite for a higher-privileged role, including Administrator. The weakness is tracked under CWE-203 (observable discrepancy / information exposure).

Critical Impact

A logged-in staff user can escalate privileges to any role for which a pending invite exists, leading to full compromise of the Ghost instance.

Affected Products

  • Ghost >= 4.39.0 and < 6.64.0
  • Ghost self-hosted deployments exposing the Admin API
  • Ghost(Pro) instances prior to the fixed release

Discovery Timeline

  • 2026-10-02 - CVE-2026-104416 published to the National Vulnerability Database
  • 2026-10-06 - Last updated in NVD database

Technical Details for CVE-2026-104416

Vulnerability Analysis

Ghost exposes an Admin API endpoint that returns the list of pending staff invites. The API response includes the invite record together with the server-side secret token used to validate acceptance of the invite. Any authenticated staff user whose role grants read permission on invites receives these tokens in the response payload.

Invite tokens in Ghost are the sole secret required to accept an invitation. The acceptance endpoint does not re-verify the identity or role of the user presenting the token. A staff user holding a token for a pending Administrator invite can therefore complete the acceptance flow and gain Administrator permissions. This converts a read-only information exposure into direct privilege escalation.

Root Cause

The root cause is improper output filtering in the Admin API serializer for invite objects. Sensitive fields, including the invitation token, are returned alongside non-sensitive invite metadata. The permission check gates access to the collection but does not strip secret fields based on the requester's role. This matches the CWE-203 pattern of exposing information to actors not entitled to receive it.

Attack Vector

Exploitation requires an authenticated staff account on a vulnerable Ghost instance and the existence of at least one pending invite for a higher-privileged role. The attacker queries the Admin API invites endpoint, extracts the token field from the response, and submits it to the invite acceptance endpoint. Upon acceptance, the attacker's session or a newly created account assumes the role attached to the invite. No user interaction from the invited party or an administrator is required.

Technical details are available in the GitHub Security Advisory GHSA-v6q3-xqxm-6f5v and the VulnCheck advisory on Ghost invite token disclosure.

Detection Methods for CVE-2026-104416

Indicators of Compromise

  • Admin API requests to the invites collection endpoint originating from non-Owner or non-Administrator staff accounts.
  • Invite acceptance events where the accepting user's prior role differs from the role attached to the invite.
  • New Administrator or Editor accounts created shortly after an unexpected invite acceptance event.
  • Unexpected changes to published content, integrations, or webhooks following a staff role change.

Detection Strategies

  • Correlate Admin API access logs with staff user role assignments to flag reads of invite objects by lower-privileged roles.
  • Alert when the role associated with an accepted invite is higher than the role of the account completing the acceptance.
  • Monitor the Ghost application logs for calls to the invites endpoint followed by acceptance calls within a short time window from the same client IP or session.

Monitoring Recommendations

  • Enable reverse-proxy or application-level logging that captures authenticated user identity, requested path, and HTTP status for all Admin API routes.
  • Forward Ghost application and web server logs to a centralized log platform and retain them long enough to investigate historical invite activity.
  • Review the current list of pending invites and audit all staff role changes made since 2022-01-01, when version 4.39.0 was released.

How to Mitigate CVE-2026-104416

Immediate Actions Required

  • Upgrade Ghost to version 6.64.0 or later across all production and staging instances.
  • Revoke all pending staff invites and reissue them only after patching.
  • Audit the staff users list and remove any accounts whose role was escalated without authorization.
  • Rotate Admin API keys, integration tokens, and session secrets for any instance where exploitation cannot be ruled out.

Patch Information

The maintainers of Ghost addressed the issue in version 6.64.0. The fix removes secret invite token fields from Admin API responses so that only the Owner or users explicitly authorized to manage invites can obtain acceptance tokens. See the GitHub Security Advisory GHSA-v6q3-xqxm-6f5v for the complete fix description and commit references.

Workarounds

  • Restrict access to the Admin API at the reverse proxy to trusted IP ranges until the upgrade is applied.
  • Temporarily remove the invite-read capability from all non-Administrator custom roles.
  • Avoid creating pending invites for high-privilege roles while the instance remains on a vulnerable version.
bash
# Upgrade Ghost using Ghost-CLI on a self-hosted instance
ghost update 6.64.0
ghost ls

# Verify the running version matches the fixed release
curl -s https://example.com/ghost/api/admin/site/ | jq '.site.version'

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.