CVE-2026-137968

ToolJet before 3.21.96-LTS SSRF via OAuth access_token_url Token Exchange

Published Nov 27, 2026 CVSS 4.0 · 5.3 Medium EPSS n/a KEV · Not listed
Description
ToolJet before 3.21.96-LTS contains a server-side request forgery vulnerability in the OAuth token exchange for custom datasources, which sends requests to an unvalidated, user-configured access_token_url. Authenticated users can trigger the authorize_oauth2 endpoint to reach loopback, cloud metadata, or private network services, with internal response bodies reflected in some API error responses.

Analysis

AI-generated

Technical impact

ToolJet versions earlier than 3.21.96-LTS contain a server‑side request forgery flaw in the OAuth token exchange for custom datasources. The application accepts an unvalidated, user‑configured access_token_url and sends requests to that URL during the token exchange. This allows an authenticated user to trigger the authorize_oauth2 endpoint to contact loopback interfaces, cloud metadata services, or other private network resources, and the internal response bodies are reflected in some API error messages. The result is that an attacker can read data from internal services that would otherwise be inaccessible over the public network.

Affected Systems

The vulnerability affects the ToolJet platform, specifically all releases prior to version 3.21.96‑LTS. Any deployment of ToolJet that has enabled custom data sources with OAuth authentication is potentially vulnerable.

Risk and Exploitability

The CVSS score of 5.3 classifies the issue as moderate severity. The EPSS score is not available, and the flaw is not listed in the CISA KEV catalog, suggesting a lower likelihood of widespread exploitation at this time. Attackers would need an authenticated user account that can invoke the OAuth token exchange; once authenticated, they can direct the application to reach internal endpoints. The exploit path does not require remote code execution, but it allows unwanted network visibility and data disclosure to the attacker.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ToolJet to version 3.21.96‑LTS or later, which eliminates the unvalidated access_token_url handling.
  • If an upgrade is not immediately possible, disable the OAuth token exchange feature for custom datasources or enforce a strict whitelist of allowed URLs for access_token_url to prevent SSRF.
  • Configure network segmentation or firewall rules to restrict the application's outbound connections to only trusted services, thereby limiting the impact of any SSRF attempts.

Generated by OpenCVE AI on November 27, 2026 at 16:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description ToolJet before 3.21.96-LTS contains a server-side request forgery vulnerability in the OAuth token exchange for custom datasources, which sends requests to an unvalidated, user-configured access_token_url. Authenticated users can trigger the authorize_oauth2 endpoint to reach loopback, cloud metadata, or private network services, with internal response bodies reflected in some API error responses.
Title ToolJet before 3.21.96-LTS SSRF via OAuth access_token_url Token Exchange
First Time appeared Tooljet
Tooljet tooljet
Weaknesses CWE-918
CPEs cpe:2.3:a:tooljet:tooljet:*:*:*:*:*:*:*:*
Vendors & Products Tooljet
Tooljet tooljet
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 27, 2026, 3:22 PM
Reserved
Nov 27, 2026, 3:02 PM
Status
Awaiting Analysis
Published
Nov 27, 2026, 4:18 PM
Modified
Nov 27, 2026, 4:18 PM