Description
ToolJet before 3.21.96-LTS contains an authorization bypass in the internal database (TJDB) PostgREST proxy, which grants proxy access to every logged-in user and derives the database role and schema from the client-supplied tj-workspace-id header. Any authenticated workspace member can send requests to /api/tooljet-db/proxy/<tableId> to read and modify TJDB tables, bypassing app, query, and table permissions, and in SQL-mode-disabled (Cloud) deployments can access all tenants' tables.
Affected products and versions
ToolJet ToolJet< 3.21.96-LTSFixed in: 3.21.96-LTS
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-863 Incorrect Authorization
References
- github.com/ToolJet/ToolJet/security/advisories/GHSA-r8q6-5wq4-p659 vendor advisory
- www.vulncheck.com/advisories/tooljet-before-3.21.96-lts-authorization-bypass-via-tjdb-post
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.