WACRM is a self-hostable CRM template for WhatsApp. In version 0.7.0 and earlier, the profilesupdate row-level security policy in supabase/migrations/017accountsharing.sql permits authenticated users to modify their own accountrole and accountid, allowing a viewer to self-promote or move into another tenant and then access or modify tenant resources. Separately, matchaiknowledgefts and matchaiknowledgesemantic in supabase/migrations/030aiknowledge.sql run as SECURITY DEFINER, accept a caller-controlled paccountid, and omit an isaccountmember check, allowing an authenticated non-member to read another tenant's knowledge-base chunks. This vulnerability is fixed with commit e01f7ed37184f972ace8fb2da5c3e37e56a6050f.