ToolJet Database versions before v3.16.44 have a privilege escalation vulnerability in the join_tables endpoint. This flaw allows any authenticated user to gain JOIN_TABLES ability without proper role or workspace membership validation. Exploiting this, an attacker can read arbitrary database tables from any workspace by specifying victim workspace identifiers while authenticating with their own credentials.