Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach public billing webhook endpoint
-
DeliveryPOST forged Stripe event body
-
ExploitGuard self-signs and verifies own payload
-
ExecutionBilling/license handler trusts payload fields
-
ImpactSelf-grant active subscription and generated license
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
|
| Exploitation Conditions | Exploitable only against the EE/Cloud organization-payments code path with STRIPE_WEBHOOK_ENDPOINT_SECRET configured - the control test shows that with the secret unset the endpoint returns HTTP 403 and the DB is unchanged, because the bypass works precisely by self-signing when a secret is present. Given that, no further conditions apply: the POST /api/organization/payment/webhooks route is marked isPublic:true with no compensating guard, so a remote unauthenticated caller needs no valid Stripe-Signature header, no credentials, and no user interaction. Limiting factors that reduce real-world exposure: Community-Edition or deployments without Stripe billing configured are not affected, and impact is confined to billing/licensing state (no data disclosure or service disruption). |
| Impact | This is a genuine priority rather than a high-CVSS paper risk. The signature-verification bypass is network-reachable, unauthenticated (PR:N), requires no user interaction (UI:N), and the GHSA advisory demonstrates end-to-end that a single forged POST flips an organization's subscription to active and sets is_license_generated=true. However, the input CVSS 4.0 vector (8.2) carries AC:H and AT:P, which conflicts with the demonstrated trigger: the PoC shows a trivial forgery with no attacker-side timing, race, or special precondition, so the high complexity/attack-requirement metrics appear overstated versus the actual mechanism - my independent assessment uses AC:L/AT:N (see assessed vectors). No EPSS score and no KEV listing are provided, and the flaw is not in CISA KEV, so there is no evidence of active exploitation; the vuln.today decision label is this_week (not act_now/emergency). The true limiter is deployment scope: the guard only returns true when STRIPE_WEBHOOK_ENDPOINT_SECRET is set (EE/Cloud billing code path), so Community-Edition or non-Stripe installs are not exploitable. Net: treat as an urgent patch for any self-hosted EE/Cloud instance with Stripe billing enabled, with impact confined to financial/licensing integrity rather than confidentiality or availability. |
| Exploit ScenarioDerived | An unauthenticated attacker who can reach a self-hosted EE/Cloud ToolJet instance sends a forged customer.subscription.updated (or checkout.session.completed / invoice.payment_succeeded) JSON body to the public POST /api/organization/payment/webhooks route. Because StripeWebhookGuard self-signs the request's own body instead of validating the inbound Stripe-Signature header, the event is accepted and the billing handler writes the payload straight to the database - self-granting an active subscription, generated license, plan/seat changes, or AI credits. A public proof-of-concept exists in the GHSA advisory and was demonstrated end-to-end against a tooljet/tooljet:v3.20.246-lts image. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Unauthenticated remote attackers can forge Stripe billing events against ToolJet's public payment webhook route (POST /api/organization/payment/webhooks) and self-grant paid entitlements, because the StripeWebhookGuard in the EE/Cloud organization-payments module signs the request's own body and then 'verifies' it against that self-generated header instead of the incoming Stripe-Signature. Demonstrated impact is limited to integrity of billing/licensing state - flipping a subscription to active, setting is_license_generated, generating or renewing licenses, changing plans/seats and, on Cloud, triggering AI-credit top-ups - with no confidentiality or availability impact in the assessed CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:N/C:N/I:H/A:N); exposure requires the EE/Cloud code path with STRIPE_WEBHOOK_ENDPOINT_SECRET configured, since with the secret unset the endpoint returns HTTP 403. The flaw is not in CISA KEV, and a public proof-of-concept exists in the upstream advisory (unit-level plus a local end-to-end reproduction against a self-hosted EE image) but is not verified as working exploit code against production or Cloud deployments; the vuln.today decision is to patch this week.
RemediationAI
Vendor-released patch: upgrade to ToolJet 3.20.256-LTS or later (https://github.com/ToolJet/ToolJet/releases/tag/v3.20.256-lts), which includes PR https://github.com/ToolJet/ToolJet/pull/18846 and commit 2ded5fc0872cf90d0c4995ad0dc42b3b3b97f137 and replaces the self-signing guard with a check of the inbound Stripe-Signature header against the raw body; per the vuln.today decision this should be scheduled this week, and per advisory GHSA-h6rr-pv45-9pv8 updating is the complete fix. If the upgrade cannot be applied immediately, the practical compensating control is to restrict who can reach POST /api/organization/payment/webhooks - for example an ingress/proxy or WAF allowlist limited to Stripe's published webhook egress ranges - with the trade-off that the bypass ignores headers entirely, so any request that reaches the route from an allowed source still succeeds, and Stripe's ranges change and require maintenance. A second option, valid only on instances that do not depend on Stripe webhooks, is to unset STRIPE_WEBHOOK_ENDPOINT_SECRET, which makes the endpoint return HTTP 403 and leaves the database unchanged (confirmed by the advisory's control test) but also disables all legitimate Stripe webhook processing, so subscriptions and licenses would no longer update automatically. A correct implementation passes request.rawBody together with request.headers['stripe-signature'] into stripe.webhooks.constructEvent if you are maintaining a patched fork of the EE module.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ToolJet's payment module is a NestJS feature: an OrganizationPaymentController route marked isPublic:true (STRIPE_WEBHOOK in constants/feature.ts) is protected only by StripeWebhookGuard plus FeatureAbilityGuard, with the real handler logic living in the private server/ee/organization-payments/ submodule. Stripe's webhook authenticity model is an HMAC-SHA256 signature over the timestamp-concatenated raw request body, keyed with the endpoint secret (whsec_...) and carried in the Stripe-Signature header; the only correct check is stripe.webhooks.constructEvent(rawBody, request.headers['stripe-signature'], endpointSecret). The vulnerable guard instead calls stripe.webhooks.generateTestHeaderString({payload, secret: endpointSecret}) on the request's own body and passes that freshly minted header into constructEvent, so the comparison is between the secret and itself and succeeds for any JSON body whenever STRIPE_WEBHOOK_ENDPOINT_SECRET is set; canActivate never reads the inbound header, and falls back to JSON.stringify(request.body) when rawBody is absent. Downstream handlers dispatch on event.type (checkout.session.completed, invoice.upcoming, invoice.payment_failed, customer.subscription.updated, invoice.payment_succeeded) and trust the payload - subscriptionUpdateHandler writes status and is_license_generated directly, webhookCheckoutSessionCompleteHandler creates the subscription row and on Cloud calls the AI-gateway top-up from metadata before any Stripe call, and webhookInvoicePaidHandler mints or renews licenses from payload line items and the STRIPE_PRICE_ID_* mapping without re-fetching the event. This is CWE-347 (improper verification of a cryptographic signature) with a CWE-345 data-authenticity root cause; the CNA's CVSS:4.0 vector (AC:H/AT:P) reflects that a configured endpoint secret must be present for the bypass to trigger, while the assessed CVSS:3.1 vector treats that as a static deployment property and rates the route as remotely reachable without credentials or interaction. The fix in PR 18846 removes the public guard file, moves signature handling into the EE submodule where the Stripe-Signature header is verified against the raw body, and also hardens getPortalLink to be scoped by organizationId.
Know when Tooljet gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Demonstrated unauthenticated trivial forgery gives AV:N/AC:L/PR:N/UI:N; only billing/license integrity is corrupted (I:H), with no confidentiality or availability impact, and the Stripe-secret precondition is environmental, not AC.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
ToolJet from 3.16.0 before 3.20.256 contains an improper signature verification vulnerability in StripeWebhookGuard that validates webhooks against a self-generated signature instead of the Stripe-Signature header. Unauthenticated attackers can post forged Stripe events to the POST /api/organization/payment/webhooks route to activate subscriptions, generate licenses, change plans or seats, and add AI credits without payment.
Technical POC Analysis
CWE-347, Improper Verification of Cryptographic Signature (the advisory also tags CWE-345).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-137059 is a high-severity flaw in ToolJet's EE/Cloud billing webhook endpoint that allows an unauthenticated attacker to forge Stripe payment events and self-grant paid entitlements, undermining license integrity and revenue assurance. While the assessed impact is limited to billing and licensing state with no direct data exposure or service disruption, the ability for anyone on the internet to upgrade accounts without payment poses a material risk to revenue and customer trust, particularly for Cloud deployments.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
The forgot password token basically just makes us capable of taking over the account of whoever comment in an app that w
Improper Access Control in GitHub repository tooljet/tooljet prior to v1.19.0. Rated high severity (CVSS 8.8), this vuln
ToolJet versions v0.5.0 to v1.2.2 are vulnerable to token leakage via Referer header that leads to account takeover . Ra
Excessive Attack Surface in GitHub repository tooljet/tooljet prior to v1.16.0. Rated high severity (CVSS 8.0), this vul
Tooljet v1.6 does not properly handle missing values in the API, allowing attackers to arbitrarily reset passwords via a
Account Takeover :: when see the info i can see the hash pass i can creaked it ............... Rated high severity (CVSS
Unrestricted file size limit can lead to DoS in tooljet/tooljet <1.27 by allowing a logged in attacker to upload profile
Code injection in ToolJet's GitHub Actions release workflow (vulnerable through 3.21.61-beta, fixed in 3.21.96-LTS) lets
Unauthenticated account takeover in self-hosted ToolJet allows a remote attacker who knows an invited user's email addre
A cross-site scripting (XSS) vulnerability in ToolJet v1.6.0 allows attackers to execute arbitrary web scripts or HTML v
Stored code injection in ToolJet self-hosted (prior to 3.20.178-lts) lets any authenticated builder-role user - availabl
Authentication bypass in ToolJet's server OAuth SSO module (versions before 3.21.94-beta, fixed in >=3.21.96-LTS) lets a
EUVD-2026-135709
GHSA-cwhr-v24q-635x
NVD
CVE.org
EPSS
Exploit-DB