CVE-2026-47127 Ghostfolio has a Stripe subscription bypass
Attackers can bypass payment checks to self-grant Premium subscriptions in Ghostfolio, requiring an upgrade to enforce payment status validation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-47127?
CVE-2026-47127 is a medium-severity vulnerability in ghostfolio, published on 7 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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 `client_reference_id` — without ever checking `session.payment_status` 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.payment_status === '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).
Weakness: CWE-862
Which versions are affected by CVE-2026-47127?
How do I fix CVE-2026-47127?
No fix has been published for CVE-2026-47127 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-47127 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47127 exists.
Sources
Also known as GHSA-j465-x2w3-wjj8.