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·23 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

•1 day ago•CVE-2026-58197
8.8

CVE-2026-58197: Host Escape and Lateral Movement via Insecure Container Network Defaults in ToolHive

A high-severity access control vulnerability in ToolHive CLI before v0.30.1 and ToolHive Studio before v0.38.0 allows local containerized MCP servers to bypass network isolation. This enables malicious workloads to establish TCP/IP connections to administrative and control plane endpoints exposed on the host loopback interface.

Amit Schendel
Amit Schendel
7 views•8 min read
•1 day ago•CVE-2026-63405
5.9

CVE-2026-63405: Insufficient Verification of Data Authenticity in AnyCable Pusher REST API

AnyCable is a real-time communication server. Prior to version 1.6.15, its Pusher-compatible REST API suffered from an authentication bypass vulnerability because it failed to verify that the request body matched the signature-validated body_md5 parameter. This allows attackers to perform replay attacks with modified body contents.

Amit Schendel
Amit Schendel
8 views•5 min read
•1 day ago•CVE-2026-64847
6.8

CVE-2026-64847: Indefinite Denial of Service via Undrained Stderr in AnyIO Process Pool Workers

A denial-of-service vulnerability exists in AnyIO prior to version 4.14.2. Standard error streams of process-pool workers are connected to an operating system pipe that is never drained by the parent process. This allows a worker to fill the pipe buffer and deadlock indefinitely.

Amit Schendel
Amit Schendel
7 views•6 min read
•1 day ago•CVE-2026-63349
7.0

CVE-2026-63349: Privilege Dropping Bypass and Denial of Service in AnyIO Subprocess Module

CVE-2026-63349 is a critical privilege-dropping bypass vulnerability in the AnyIO asynchronous framework (versions 4.14.0 and 4.14.1) on POSIX platforms. Due to a variable assignment typo, supplementary groups specified by the developer are not correctly propagated to the execution backend, resulting in subprocesses retaining the parent process's elevated supplementary group permissions.

Alon Barad
Alon Barad
13 views•5 min read
•1 day ago•CVE-2026-63406
5.9

CVE-2026-63406: Information Disclosure via Insecure Telemetry and Hardcoded Credentials in AnyCable-Go

CVE-2026-63406 is an information disclosure vulnerability in AnyCable-go prior to version 1.6.15. The built-in telemetry client is enabled by default with a hardcoded public authentication token ('secret'). This client digests highly sensitive configuration parameters and command-line arguments, including JWT secrets and RPC secrets, into a stable SHA-256 fingerprint. This fingerprint is sent over public networks, exposing those administrative secrets to offline dictionary and brute-force attacks if intercepted.

Alon Barad
Alon Barad
7 views•5 min read
•1 day ago•CVE-2026-84992
6.1

CVE-2026-84992: Cross-Site Scripting (XSS) via Fenced Code Block Parsing in md-editor-v3

CVE-2026-84992 is a Cross-Site Scripting (XSS) vulnerability affecting md-editor-v3 before version 6.5.4. It occurs because the fenced-code block language parser directly interpolates unescaped language metadata into unquoted HTML attributes inside the custom rendering callback. This bypasses the built-in XSSPlugin which runs during the parsing phase, before rendering.

Amit Schendel
Amit Schendel
9 views•6 min read