Ghostfolio has a Stripe subscription bypass
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-862.
Summary
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).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ghostfolio | ghostfolio | before 3.4.0 | 3.4.0 | Patch available | CNA |
- ghostfolio Vendorghostfolio Affected before 3.4.0 Fixed in 3.4.0 Patch available CNA
Remediation
- Fix · CNA ghostfolio (ghostfolio) Fixed in 3.4.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-47127
References
More ghostfolio vulnerabilities
- TI-2026-42582 Ghostfolio - Unauthorized Portfolio Holding Tag Modification via Missing Permission Check CVSS 4.0MEDIUM 5.3
- TI-2026-42581 Ghostfolio - Unauthorized Portfolio Data Exposure via Public Endpoint CVSS 4.0HIGH 8.7
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences