A SQL injection issue exists in the ClickHouse query backend. Authenticated attackers can read event data across all tenants by injecting unsanitized filter parameters into Liquid SQL templates. By providing malicious values through the `EventName`, `CountryCode`, `OsName`, `DeviceModel`, `AppVersion`, or `SessionId` parameters, an attacker can inject a UNION ALL statement. This action bypasses the `app id` tenant isolation filter across thirteen of the fifteen stats API endpoints.