CVE-2026-47127: Ghostfolio has a Stripe subscription bypass

Published Aug 7, 2026
·
Updated

Ghostfolio is an open source wealth management software. Prior to version 3.4.0, Ghostfolio's Stripe checkout success-URL handler at GET /api/v1/subscription/stripe/callback?checkoutSessionId=<id> retrieves the Stripe Checkout Session by ID and unconditionally grants a Premium subscription to the session's clientreferenceid — without ever checking session.paymentstatus or session.status. There is no separate Stripe webhook endpoint with stripe-signature verification; this callback is the sole code path that creates Stripe-driven subscriptions. Any authenticated user can self-grant a 1-year Premium subscription without ever paying. Version 3.4.0 rejects sessions unless session.paymentstatus === 'paid' AND session.status === 'complete' (fails closed). Additionally, new unique stripeCheckoutSessionId column → a session can't be redeemed twice (race-safe via DB unique constraint).

Affected Software

1 affected component
Ghostfolio<3.4.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Ghostfolio to a version that resolves this vulnerability.

    Fixed in 3.4.0
  2. Configuration

    Update the callback handler logic so it grants a Premium subscription only after retrieving the Stripe Checkout Session by checkoutSessionId and verifying both conditions: session.payment_status === 'paid' and session.status === 'complete' (reject/deny otherwise, fail closed).

    Ghostfolio Stripe checkout success URL handler (GET /api/v1/subscription/stripe/callback) session payment/status checks = session.payment_status === 'paid' AND session.status === 'complete'

Event History

Aug 7, 2026
CVE Published
via MITRE·10:43 PM
Data Sourced
via MITRE·10:43 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-47127?

The severity of CVE-2026-47127 is medium with a CVSS score of 6.5.

2

How does CVE-2026-47127 affect Ghostfolio users?

CVE-2026-47127 allows unauthorized users to gain a Premium subscription without proper authentication.

3

Which versions of Ghostfolio are affected by CVE-2026-47127?

CVE-2026-47127 affects Ghostfolio versions prior to 3.4.0.

4

How can I fix CVE-2026-47127?

To fix CVE-2026-47127, upgrade to Ghostfolio version 3.4.0 or later.

5

Is there a workaround for CVE-2026-47127?

There are no recommended workarounds for CVE-2026-47127 other than updating to the fixed version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203