CVE-2026-77240
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 isaccount_member check, allowing an authenticated non-member to read another tenant's knowledge-base chunks. This vulnerability is fixed with commit e01f7ed37184f972ace8fb2da5c3e37e56a6050f.
Package Versions Affected
Automatically patch vulnerabilities without upgrading
CVSS Version



Related Resources
References
https://github.com/ArnasDon/wacrm/security/advisories/GHSA-fg5p-2qc3-jmxr, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77240.json, https://nvd.nist.gov/vuln/detail/CVE-2026-77240, https://github.com/ArnasDon/wacrm/commit/e01f7ed37184f972ace8fb2da5c3e37e56a6050f, https://github.com/ArnasDon/wacrm/pull/350