DescriptionToolJet before 3.21.96-LTS contains an authorization bypass vulnerability that allows view-only workspace users to execute queries in restricted environments by supplying an arbitrary environmentId. Attackers can call the data-queries run endpoint for draft app versions to execute queries with stored datasource credentials, exposing development or staging data.