Skip to content
GHSA V64h Hqhj 2h7r

GHSA V64h Hqhj 2h7r

github.com • November 28, 2026

A server-side request forgery (CWE-918) in the datasource test-connection endpoint. The datasource kind, plugin id and connection options are all taken from the request BODY with no SSRF validation, and the TEST_CONNECTION ability is granted broadly. Any user with that ability can make the server connect to arbitrary hosts and ports - including loopback, internal network services, and cloud metadata endpoints - through any of a dozen unguarded plugins (influxdb, couchdb, elasticsearch, typesense, clickhouse, appwrite, woocommerce, cosmosdb, minio, azureblobstorage, smtp, grpcv2).

server/src/modules/data-sources/controller.ts (:133-138) → server/src/modules/data-sources/util.service.ts testConnection() (lines 799-861). The handler reads kind / options / plugin_id from the request body and passes attacker-supplied options straight to the selected plugin's testConnection() with no URL/host validation:

TestDataSourceDto extends CreateDataSourceDto ( dto/index.ts:31-36 ); options is only @IsDefined() . The plugins' testConnection() implementations call raw got() /SDK clients on the supplied host with no validateUrlForSSRF (e.g. influxdb plugins/packages/influxdb/lib/index.ts:149-151 → got(\ ${protocol}://${host}:${port}/influxdb/cloud/api//ping`)`).

Body-controlled test-connection SSRF

Files: server/src/modules/data-sources/controller.ts (:133-138), server/src/modules/data-sources/util.service.ts (:799-861), server/src/modules/data-sources/dto/index.ts (:31-36)

kind / plugin_id / options come from the request body with no SSRF validation.

TEST_CONNECTION is granted to admins, datasource creators, and users with isAllEditable / isAllViewable / configurableDataSourceId / usableDataSourcesId (ability/index.ts:60-61,79-80,102-103,119-120,133-134,147-148).

The datasource id only needs to exist in the org (ValidateDataSourceGuard); it does not need to match the chosen kind.

Trigger (any user with TEST_CONNECTION ability):

Preconditions: authenticated user with the TEST_CONNECTION ability and any datasource id from the org.

Obtain any datasource id of the org (e.g. the default tooljetdbdefault or a sample datasource).

Choose a plugin whose testConnection makes an HTTP request (influxdb, elasticsearch, couchdb, ...) and set host to the internal/metadata target.

The server performs the request server-side; on real cloud deployments the metadata endpoint returns IAM credentials.

Type: server-side request forgery (CWE-918).

Who is impacted: self-hosted ToolJet instances (any user with the TEST_CONNECTION ability - a broad set including datasource users).

Impact: SSRF to loopback, internal services, and cloud metadata (169.254.169.254 IAM credentials); internal network/port scanning; blind interaction with any internal HTTP/SMTP/gRPC service. No SSRF protection exists on this path even where the protected run() paths are configured.

The full story

This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.

CISA Adds Sierra Wireless Router RCE Flaw CVE-2018-4063 to KEV; Separate ToolJet SSRF Disclosed CISA added CVE-2018-4063, a file upload remote code execution flaw in Sierra Wireless AirLink ALEOS routers, to its Known Exploited Vulnerabilities catalog on 2025-12-12, following Forescout's 90-day honeypot analysis. The flaw lies in the ACEManager upload.cgi function, which does not restrict file names, allowing attackers to overwrite existing files, including executable files such as fw_upload_init.cgi and fw_status.cgi. ACEManager reportedly runs with root privileges, so uploaded executables or shell scripts run with elevated permissions. Cisco Talos first disclosed the flaw in April 2019 for AirLink ES450 firmware 4.9.3, after reporting it to Sierra Wireless in December 2018. Forescout reports that a group it calls Chaya_005 exploited the flaw in January 2024 to upload a malicious payload, and that no further exploitation attempts have been detected since then. Forescout also reports that industrial routers are among the most frequently targeted OT devices, with attackers exploiting several other router and firewall CVEs to deliver botnet and cryptominer malware. Separately, CVE-2026-137965 is a server-side request forgery flaw in ToolJet before 3.21.96-LTS, published 2026-11-27 with a CVSS score of 5.3. It allows authenticated users with the TEST_CONNECTION ability to reach loopback, internal services, or cloud metadata endpoints, potentially exposing IAM credentials. No public exploit is reported for it, and it is not in KEV. 2 sources 68