{"id":"CVE-2026-47127","aliases":["CVE-2026-47127"],"related":[],"kind":"vulnerability","state":"published","title":"Ghostfolio has a Stripe subscription bypass","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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"}],"published":"2026-08-07T22:43:59.001Z","modified":"2026-09-09T20:55:04.493Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"version":"< 3.4.0","status":"affected"}],"vendor":"ghostfolio","product":"ghostfolio","source":"cvelist"}],"references":[{"url":"https://github.com/ghostfolio/ghostfolio/security/advisories/GHSA-j465-x2w3-wjj8","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ghostfolio/ghostfolio/pull/6872","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-08-13T17:47:37.225Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-47127","url":"https://www.cve.org/CVERecord?id=CVE-2026-47127","licence":"CVE Terms of Use","modified":"2026-08-13T17:47:44.760Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-47127","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47127","licence":"Public domain","modified":"2026-09-09T20:55:04.493Z"}],"updatedAt":"2026-11-25T22:59:31.899Z","epss":{"score":0.00295,"percentile":0.23846,"date":"2026-12-01T12:00:22.000Z"}}