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-70589

CVE-2026-70589: Improper Status Validation in Ghost CMS Offer Redemption

Alon Barad
Alon Barad
Software Engineer

Aug 5, 2026·6 min read·2 visits

Executive Summary (TL;DR)

Unauthenticated users can bypass UI-level status checks to redeem archived promotional discount offers, resulting in unauthorized pricing discounts during membership checkout.

A business logic vulnerability in Ghost CMS allows unauthenticated remote users to redeem deactivated or archived promotional subscription offers by programmatically passing old offer identifiers during the checkout session initialization.

Vulnerability Overview

The affected component is Ghost's subscription and membership offering subsystem. This component manages portal sign-ups, membership levels, pricing tiers, and promotional discounts. When a user requests to subscribe to a paid tier, the backend system dynamically generates a payment session and communicates the details to the external payment gateway (Stripe).

Prior to the patch, this subsystem allowed unauthenticated remote users to redeem promotional codes and offers that were deactivated or archived. By exposing an API endpoint that processes raw inputs directly, Ghost became vulnerable to business logic bypasses. The attack surface is completely public-facing, meaning anyone on the internet with access to the checkout page can trigger this logical oversight.

The vulnerability is classified under CWE-20 (Improper Input Validation) with a CVSS 3.1 base score of 4.8. The main impact is financial and operational, as it allows unauthorized users to sign up for membership tiers at discounted prices that administrators had intended to terminate. Although it does not expose sensitive operating system capabilities, it directly disrupts the economic integrity of CMS deployments utilizing Ghost's membership modules.

Root Cause Analysis

The core of the vulnerability lies in a logic gap within the backend database retrieval workflow. In Ghost CMS, promotional discounts are stored as 'Offers' with distinct states. When a site administrator chooses to disable or deprecate an offer, its database field status transitions from 'active' to 'archived' or another equivalent inactive value.

When a checkout process is initialized, the application controller handles the validation of parameters such as tierId and offerId. However, the server-side logic in unpatched versions only checked whether the database query successfully retrieved an offer record. It did not evaluate whether that record's status field permitted active redemptions.

Because deactivated or archived offers are preserved in the database to maintain relational integrity for historical billing and transaction logs, the query always successfully located the record. Lacking any status validation, the controller took the discount metadata from the archived offer and supplied it to the payment gateway session. This created an operational route where an obsolete promotion could be applied repeatedly to new subscriptions.

Code Analysis

The vulnerability resides in the controller responsible for resolving payment checkout sessions, specifically located at ghost/core/core/server/services/members/members-api/controllers/router-controller.js. The vulnerable logical flow took the validated parameters from the input request and proceeded to apply them to the checkout data builder without validating state transition rules.

Below is the code diff of the patch implemented in version 6.54.1, illustrating the addition of explicit state verification:

@@ -467,6 +467,13 @@ module.exports = class RouterController {
                 });
             }
 
+            if (offer.status && offer.status !== 'active') {
+                throw new BadRequestError({
+                    message: tpl(messages.offerArchived),
+                    context: 'Offer with id "' + offerId + '" is no longer active'
+                });
+            }
+
             if (!offer.tier) {
                 throw new BadRequestError({
                     message: 'Offer does not have a tier'

The inserted verification block acts as a barrier directly after the record retrieval phase. The if conditional checks whether the offer.status field is present and strictly verifies if its value deviates from the 'active' string state. If the condition is met, the application invokes the localized translation layer and throws a standard HTTP 400 BadRequestError, terminating the execution flow prior to Stripe checkout generation.

While this fix successfully blocks basic programmatic redemption of inactive offers, developers must ensure that the returned offer object always includes the status field. If subsequent API variations or queries yield partial objects where status is omitted or undefined, the expression evaluates to falsy, bypassing the entire validation block.

Exploitation Methodology

To exploit this flaw on an unpatched Ghost instance, an attacker must first obtain a valid but inactive offerId. These identifiers can often be scraped from web search archives, historical social media advertisements, client-side caches, or prior subscription receipts. Alternatively, if predictable naming structures or sequence patterns are utilized for campaigns, an attacker can attempt brute-force enumeration.

Once an inactive ID is obtained, the attacker navigates to the registration interface and initiates the checkout process. Using a local interception proxy, the outbound payment initialization request is intercepted before hitting the Ghost API. The attacker then injects the inactive identifier into the HTTP POST request payload.

{
  "tierId": "prod_example123",
  "offerId": "archived_offer_id_abc"
}

Because the vulnerable server fails to validate the offer's current status, it resolves the archived promotional data and generates a valid Stripe checkout URL incorporating the discount. The server returns this URL in the HTTP response body. The attacker then follows the link to finalize the payment on Stripe's domain, successfully securing the discounted subscription terms.

Impact Assessment

The primary impact of CVE-2026-70589 is economic degradation and unauthorized access to premium subscription tiers. Attackers can bypass billing tier requirements, allowing them to purchase high-value membership plans at reduced prices or even for free, depending on the discount parameters of the archived offer.

The vulnerability is assigned a CVSS v3.1 base score of 4.8. The CVSS vector string is CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N. The attack complexity is rated as High because it requires gathering or guessing a valid inactive identifier. Privileges required and user interaction are both rated as None since the checkout endpoints are accessible to unauthenticated public visitors.

There is a low confidentiality impact, as an attacker can confirm the existence of legacy promotions and pricing structures that were meant to remain hidden. Availability remains completely unaffected by this vulnerability, as it does not trigger memory corruption, deadlocks, or server resource exhaustion.

Remediation and Defense-in-Depth

The primary remediation path is upgrading the Ghost installation to version 6.54.1 or newer. This upgrade introduces the required backend validation blocks to block checkout initialization when inactive promotional IDs are passed.

If an immediate upgrade is not feasible, administrators can implement a defense-in-depth mitigation strategy at the payment gateway level. Because Ghost's internal offers correspond directly to Coupon entities inside Stripe, administrators can navigate to their Stripe Dashboard, review their active and inactive coupons, and manually delete or archive any obsolete coupon codes. This ensures that even if a vulnerable Ghost server successfully generates a session payload with an old discount code, Stripe's payment API will reject the transaction.

Additionally, security teams can implement detection mechanisms. For instance, Web Application Firewalls (WAF) can be configured to monitor the rate of requests directed to /members/api/checkout/ to prevent automated brute-forcing or enumeration of potential offerId strings.

Official Patches

TryGhostFixed offer redemption to reject inactive offers (#29630)

Fix Analysis (1)

Technical Appendix

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

Affected Systems

Ghost CMS Core Subscription Subsystem

Affected Versions Detail

Product
Affected Versions
Fixed Version
Ghost
TryGhost
>= 4.22.0, < 6.54.16.54.1
AttributeDetail
CWE IDCWE-20
Attack VectorNetwork
CVSS Base Score4.8
ImpactUnauthorized Pricing Discounts / Membership Manipulation
Exploit StatusNo Public Exploit
KEV StatusNot Listed

MITRE ATT&CK Mapping

T1190Exploit Public-Facing Application
Initial Access
CWE-20
Improper Input Validation

The product does not validate or incorrectly validates input that can affect the control flow or data flow of a program.

Vulnerability Timeline

TryGhost engineers initiate release preparation and compile version 6.54.1-rc.0.
2026-07-24
Official fix commit d91c0fc52dfc987d71a9803dbcbe6447d21b92fb is pushed.
2026-07-27
GitHub Security Advisories registers GHSA-4wx2-7gvj-qfq3.
2026-08-04
CVE-2026-70589 is officially published in the NVD.
2026-08-04

References & Sources

  • [1]Official GitHub Security Advisory
  • [2]Official Technical Fix Commit
  • [3]CVE Registry 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

•36 minutes ago•CVE-2026-53948
5.4

CVE-2026-53948: Stored Cross-Site Scripting via File Upload Content-Type Spoofing in Ghost

CVE-2026-53948 is a stored cross-site scripting (XSS) vulnerability in the Ghost content management system. Affected versions (v6.19.4 up to v6.21.0) trusted the client-supplied Content-Type header during file uploads via the Admin API. This allowed authenticated attackers to upload benignly-named files with executable MIME types (like text/html), executing scripts in visitor browsers when hosted on integrated cloud platforms like S3 or GCS.

Alon Barad
Alon Barad
1 views•6 min read
•about 3 hours ago•CVE-2026-53944
5.8

CVE-2026-53944: Server-Side Request Forgery Private IP Filtering Bypass in Ghost CMS

A Server-Side Request Forgery (SSRF) vulnerability exists in the Ghost content management system from version 6.0.9 up to, but not including, 6.21.1. The flaw resides in the 'request-external.js' module, where the IP address validation blocklist fails to account for fully expanded IPv4-mapped IPv6 formats. This allows unauthenticated remote attackers to bypass the private IP filter and initiate unauthorized connections to loopback services, internal subnets, or cloud instance metadata endpoints.

Amit Schendel
Amit Schendel
4 views•7 min read
•about 4 hours ago•CVE-2026-53945
4.0

CVE-2026-53945: Time-of-Check to Time-of-Use (TOCTOU) DNS Rebinding Server-Side Request Forgery in Ghost CMS

Ghost CMS is vulnerable to Server-Side Request Forgery (SSRF) in versions 6.0.9 through 6.21.1. Due to a Time-of-Check to Time-of-Use (TOCTOU) race condition in its outbound fetch validation logic, an attacker can bypass IP blocklists via DNS Rebinding. This allows unauthorized interaction with private networks and local services.

Amit Schendel
Amit Schendel
3 views•7 min read
•about 5 hours ago•CVE-2026-53946
5.4

CVE-2026-53946: Server-Side Request Forgery in Ghost CMS Mobiledoc Processing Workflow

A Server-Side Request Forgery (SSRF) vulnerability exists in the Mobiledoc post-rendering component of Ghost CMS versions 6.19.4 through 6.21.0. This allows authenticated staff users with post creation or editing privileges to force the application server to perform arbitrary outbound HTTP GET requests, targeting internal endpoints, local loopback interfaces, or cloud metadata endpoints.

Alon Barad
Alon Barad
4 views•6 min read
•about 6 hours ago•CVE-2026-70590
4.8

CVE-2026-70590: Blind Password Hash Disclosure in TryGhost Ghost Admin API via Insecure Filter Mapping

An authenticated staff-level user can perform a side-channel, boolean-based blind database query attack through the Ghost Admin API to systematically extract the hashed passwords (bcrypt) of other staff users, including administrators, due to insecure filter mapping.

Alon Barad
Alon Barad
4 views•7 min read
•about 7 hours ago•CVE-2026-70591
4.1

CVE-2026-70591: Server-Side Request Forgery in Ghost Admin Image Fetching

A comprehensive technical analysis of CVE-2026-70591, a Server-Side Request Forgery (SSRF) vulnerability identified in the Ghost Content Management System. The flaw resides in the server-side image fetching mechanism of the ImageSize class, which allows authenticated, staff-level users to force the backend to perform unvalidated HTTP GET requests targeting local or private network services. This report provides an in-depth exploration of the root cause, vulnerable code structures, patch implementations, and mitigation steps.

Alon Barad
Alon Barad
4 views•7 min read