Vulnerability 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).
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/ghostfolio/ghostfolio/pull/6872
- https://github.com/ghostfolio/ghostfolio/security/advisories/GHSA-j465-x2w3-wjj8
FAQ
What is CVE-2026-47127?
CVE-2026-47127 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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>` r...
How severe is CVE-2026-47127?
CVE-2026-47127 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-47127?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.