{"id":"CVE-2026-47127","state":"PUBLISHED","title":"Ghostfolio has a Stripe subscription bypass","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).","publishedAt":"2026-08-07T22:43:59.001Z","updatedAt":"2026-08-13T17:47:44.760Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["ghostfolio ghostfolio"],"affected":[{"vendor":"ghostfolio","product":"ghostfolio","versions":[{"version":"< 3.4.0","status":"affected"}]}],"references":["https://github.com/ghostfolio/ghostfolio/security/advisories/GHSA-j465-x2w3-wjj8","https://github.com/ghostfolio/ghostfolio/pull/6872"],"weaknesses":["CWE-862"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/47xxx/CVE-2026-47127.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-47127","state":"PUBLISHED","datePublished":"2026-08-07T22:43:59.001Z","dateUpdated":"2026-08-13T17:47:44.760Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-18T19:50:18.695Z"},"containers":{"cna":{"title":"Ghostfolio has a Stripe subscription bypass","descriptions":[{"lang":"en","value":"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)."}],"affected":[{"vendor":"ghostfolio","product":"ghostfolio","versions":[{"version":"< 3.4.0","status":"affected"}]}],"references":[{"url":"https://github.com/ghostfolio/ghostfolio/security/advisories/GHSA-j465-x2w3-wjj8","name":"https://github.com/ghostfolio/ghostfolio/security/advisories/GHSA-j465-x2w3-wjj8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ghostfolio/ghostfolio/pull/6872","name":"https://github.com/ghostfolio/ghostfolio/pull/6872","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-862","lang":"en","description":"CWE-862: Missing Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-07T22:43:59.001Z"},"source":{"advisory":"GHSA-j465-x2w3-wjj8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/ghostfolio/ghostfolio/security/advisories/GHSA-j465-x2w3-wjj8","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-13T17:47:37.225360Z","id":"CVE-2026-47127","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-13T17:47:44.760Z"}}]}}}