CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-70594

CVE-2026-70594: Session Fixation in Ghost Admin Panel

Alon Barad
Alon Barad
Software Engineer

Aug 5, 2026·5 min read·1 visit

Executive Summary (TL;DR)

Ghost Admin did not rotate session identifiers upon login. This allowed session fixation attacks, enabling attackers with subdomain or domain-level cookie injection capabilities to hijack administrative sessions.

A critical session fixation vulnerability exists in the Ghost Admin panel from version 2.2.0 until 6.54.1. The Express-based authentication backend fails to invalidate or rotate the session identifier during login, allowing attackers to hijack administrative sessions.

Vulnerability Overview

The Ghost content management system uses an Express-based backend to manage administrator authentication and session states. The administration interface, known as Ghost Admin, exposes API endpoints designed to authenticate users and issue session tokens. Historically, this authentication workflow accepted existing session cookies without validating whether they were established prior to authentication.

This behavior exposes the application to session fixation vulnerabilities categorized under CWE-384. By maintaining the same session identifier before and after a user logs in, the backend fails to separate unauthorized and authorized states. If an attacker can inject a chosen session ID into a victim's browser, the attacker can hijack the session once the victim authenticates.

Root Cause Analysis

The vulnerability originates in the administrative session establishment process managed by the createSessionForUser function in the authentication service. When an administrator authenticates via the /ghost/api/admin/session/ endpoint, the server processes the login request and updates the current session state stored in the backend database. However, the system does not generate a new cryptographic session key.

Instead, the server maps the authenticated user metadata onto the existing, pre-login session object associated with the incoming request. Because this pre-login session identifier remains completely unchanged, any party holding the original cookie gains immediate administrative privileges upon the user's successful authentication. Successful exploitation relies on a secondary mechanism to plant the pre-login cookie, such as cookie tossing from a co-hosted subdomain or exploiting local cross-site scripting.

Code Analysis

In vulnerable versions of Ghost, the session setup routine directly retrieved and modified the existing session object. The following code demonstrates the lack of session regeneration:

// Vulnerable Implementation
async function createSessionForUser(req, res, user) {
    const session = await getSession(req, res);
    const origin = getOriginOfRequest(req);
    await assignUserToSession({
        session,
        user,
        origin
    });
}

The fix introduced in version 6.54.1 remediates this flaw by invoking the regenerate() function provided by express-session. This method destroys the previous session identifier and replaces it with a new, cryptographically secure token. The patch also copies necessary metadata, such as multi-factor authentication challenges, while isolating user contexts:

// Patched Implementation in v6.54.1
async function createSessionForUser(req, res, user) {
    const previousSession = await getSession(req, res);
 
    const {
        user_id: previousUserId,
        verified: previousVerified,
        auth_code_challenge: previousAuthCodeChallenge,
        auth_code_generated_at: previousAuthCodeGeneratedAt
    } = previousSession;
 
    await new Promise((resolve, reject) => {
        req.session.regenerate((err) => {
            if (err) {
                reject(err);
                return;
            }
            resolve();
        });
    });
 
    const session = req.session;
    session.user_id = previousUserId;
    session.verified = previousUserId && previousUserId !== user.id ? undefined : previousVerified;
    session.auth_code_challenge = previousAuthCodeChallenge;
    session.auth_code_generated_at = previousAuthCodeGeneratedAt;
 
    const origin = getOriginOfRequest(req);
    await assignUserToSession({
        session,
        user,
        origin
    });
}

Exploitation Methodology

Exploitation of CVE-2026-70594 requires the attacker to plant a known session cookie into the target user's browser. Since Ghost Admin restricts cookie paths, the attacker must bypass domain isolation boundaries to perform a cookie injection or cookie tossing attack. This requires hosting a malicious application on a sibling subdomain or exploiting a secondary vulnerability on the same parent domain.

Once the victim's browser is loaded with the fixated cookie, the victim visits the Ghost Admin panel and enters their credentials. The Ghost server updates the backend storage associated with the fixated cookie. The attacker, who already possesses this cookie value, can then access administrative endpoints directly without prompting for credentials.

Impact Assessment

Successful exploitation of this session fixation vulnerability grants the attacker full administrative access to the Ghost CMS backend. Administrative access allows the compromise of publishing rights, enabling attackers to inject malicious scripts, modify public articles, or deface the site. Furthermore, the attacker gains access to the database of registered users, API keys, and system configuration settings.

The CVSS v3.1 base score is 6.7, reflecting a Medium severity rating. The attack vector is restricted to adjacent networks or specific local-domain topologies due to cookie domain constraints. High confidentiality, integrity, and availability impacts are limited only by the privileges associated with the targeted administrator account.

Remediation and Hardening

To remediate the vulnerability, deployers must update their installations to Ghost version 6.54.1 or later. This version incorporates the req.session.regenerate() logic to ensure immediate invalidation of the pre-login session. To apply the patch, run ghost update within the server command-line interface.

In environments where patching cannot be completed immediately, apply defense-in-depth domain isolation. Do not co-host untrusted applications on sibling subdomains of the same parent domain. Configure reverse proxies to set the HostOnly attribute on administrative cookies and enforce strict SameSite=Lax or SameSite=Strict directives to limit unauthorized session manipulation.

Official Patches

TryGhostSecurity Pull Request resolving the session fixation issue by regenerating the session identifier on user authentication.

Fix Analysis (1)

Technical Appendix

CVSS Score
6.7/ 10
CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L

Affected Systems

Ghost Content Management System (CMS)Ghost Admin Panel

Affected Versions Detail

Product
Affected Versions
Fixed Version
Ghost
TryGhost
>= 2.2.0, < 6.54.16.54.1
AttributeDetail
CWE IDCWE-384
Attack VectorAdjacent Network
Attack ComplexityHigh
CVSS Score6.7 (Medium)
Exploit StatusProof-of-Concept
CISA KEV StatusNot Listed

MITRE ATT&CK Mapping

T1539Steal Web Session Cookie
Credential Access
T1556Modify Authentication Process
Credential Access
CWE-384
Session Fixation

The application authenticates a user without first invalidating the existing session identifier, thereby keeping the same session identifier after authentication.

Known Exploits & Detection

GitHub Advisory DatabaseThe official advisory documents the session fixation scenario requiring a co-hosted/subdomain cookie tossing vector.

Vulnerability Timeline

Patch developed and committed
2026-07-27
Ghost v6.54.1 released containing the fix
2026-07-27
CVE-2026-70594 publicly disclosed
2026-08-04

References & Sources

  • [1]Ghost Session Fixation Patch Commit
  • [2]Ghost Security PR 29634
  • [3]GitHub Security Advisory GHSA-7mpp-r37j-x5wh
  • [4]Ghost v6.54.1 Release Notes
  • [5]CVE-2026-70594 Record

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•38 minutes ago•CVE-2026-70593
6.6

CVE-2026-70593: Path Traversal and Arbitrary File Write via Custom Theme Upload in Ghost CMS

CVE-2026-70593 is a path traversal and arbitrary file write vulnerability affecting Ghost CMS. Versions from 0.10.0 up to 6.54.0 are vulnerable. Authenticated administrators can exploit this flaw by uploading a custom theme in a ZIP archive that contains path traversal characters. The vulnerability is mitigated in version 6.54.1.

Alon Barad
Alon Barad
1 views•5 min read
•about 3 hours ago•CVE-2026-53950
7.5

CVE-2026-53950: DOM-based Cross-Site Scripting in @tryghost/activitypub

A high-severity Cross-Site Scripting (XSS) vulnerability was identified in the @tryghost/activitypub package, the social and federation client library for the Ghost publishing platform. Prior to version 3.1.0, the ActivityPub client rendered incoming federated posts from external servers directly in the web user interface without proper sanitization. A maliciously customized ActivityPub server federated with a Ghost instance could transmit crafted posts containing embedded HTML payloads. When viewed by a user inside the ActivityPub client interface, the browser executes the injected JavaScript within the security context of the Ghost application domain.

Amit Schendel
Amit Schendel
3 views•6 min read
•about 4 hours ago•CVE-2026-53947
5.3

CVE-2026-53947: Observable Response Discrepancy (User Enumeration) in Ghost CMS

CVE-2026-53947 is an observable response discrepancy (CWE-204) in Ghost CMS that permits unauthenticated remote user enumeration via the passwordless magic link sign-in endpoint.

Amit Schendel
Amit Schendel
4 views•7 min read
•about 5 hours ago•CVE-2026-59817
5.3

CVE-2026-59817: Premium Membership Provisioning Bypass via Parameter Tampering in Ghost CMS

An unauthenticated remote business logic vulnerability in Ghost CMS versions 6.27.0 through 6.43.1 allows attackers to bypass paid subscription gates. By injecting reserved metadata fields into public donation Stripe Checkout Sessions, attackers can obtain premium-tier memberships for arbitrary nominal amounts.

Amit Schendel
Amit Schendel
5 views•6 min read
•about 6 hours ago•CVE-2026-70494
8.1

CVE-2026-70494: Broken Access Control in Open WebUI Folder Deletion Endpoint

A critical broken access control vulnerability in Open WebUI (v0.10.0 to v0.11.0) allows authenticated write-collaborators to delete shared subfolders they do not own. Because deletion triggers a backend cascade using the folder owner's identity, this results in unauthorized permanent deletion of the owner's nested chats, messages, and files.

Alon Barad
Alon Barad
4 views•7 min read
•about 7 hours ago•CVE-2026-70485
7.1

CVE-2026-70485: Server-Side Request Forgery in Open WebUI via NAT64 IP Wrapping Bypass

Open WebUI is susceptible to Server-Side Request Forgery (SSRF) when deployed in networks with NAT64 translation gateways. Authenticated users can bypass host validation checks by encapsulating internal or cloud-metadata IPv4 addresses within globally-routable IPv6 transition prefixes.

Alon Barad
Alon Barad
8 views•5 min read