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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-07T22:43:59.001Z
- Modified: 2026-09-09T20:55:04.493Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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).

(As written by CVE List.)

## Affected

- ghostfolio ghostfolio: < 3.4.0

## References

- <https://github.com/ghostfolio/ghostfolio/security/advisories/GHSA-j465-x2w3-wjj8> (exploit)
- <https://github.com/ghostfolio/ghostfolio/pull/6872>

## Sources

- CVE List: [CVE-2026-47127](https://www.cve.org/CVERecord?id=CVE-2026-47127), CVE Terms of Use, modified 2026-08-13
- NVD: [CVE-2026-47127](https://nvd.nist.gov/vuln/detail/CVE-2026-47127), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-47127 · Whole record: https://cve.day/CVE-2026-47127.json · Rebuilt by cve.day 2026-11-25T22:59:31.899Z
