CVE-2026-77240 Details
Description
WACRM is a self-hostable CRM template for WhatsApp. In version 0.7.0 and earlier, the profiles_update row-level security policy in supabase/migrations/017_account_sharing.sql permits authenticated users to modify their own account_role and account_id, allowing a viewer to self-promote or move into another tenant and then access or modify tenant resources. Separately, match_ai_knowledge_fts and match_ai_knowledge_semantic in supabase/migrations/030_ai_knowledge.sql run as SECURITY DEFINER, accept a caller-controlled p_account_id, and omit an is_account_member check, allowing an authenticated non-member to read another tenant's knowledge-base chunks. This vulnerability is fixed with commit e01f7ed37184f972ace8fb2da5c3e37e56a6050f.
A vulnerability in WACRM versions through 0.7.0 allows for unauthorized modifications of account roles and IDs, leading to privilege escalation and cross-tenant data access. The issue arises from a row-level security policy that improperly allows users to update sensitive account information, which can be exploited to access or alter resources in other tenants. Additionally, two functions that read knowledge base data bypass security checks, enabling access to another tenant's information.
The vulnerability has been addressed by implementing a trigger that prevents unauthorized changes to the 'account_role' and 'account_id' columns when the request is made by an authenticated user. This ensures that only authorized functions can modify these sensitive fields. Additionally, the functions that previously bypassed security checks have been updated to enforce proper access controls, preventing cross-tenant knowledge base disclosures.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 18, 2026CISA-ADP
Assessed Sep 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ArnasDon/wacrm/security/advisories/GHSA-fg5p-2qc3-jmxr | CISA-ADP | AdvisoryBundleRemedyVendor |
| https://github.com/ArnasDon/wacrm/commit/e01f7ed37184f972ace8fb2da5c3e37e56a6050f | [email protected] | Source CodeVendor |
| https://github.com/ArnasDon/wacrm/pull/350 | [email protected] | Issue TrackingVendor |
| https://github.com/ArnasDon/wacrm/security/advisories/GHSA-fg5p-2qc3-jmxr | [email protected] | AdvisoryBundleRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-639 | Authorization Bypass Through User-Controlled Key | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ArnasDon WACRM | <= 0.7.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 23, 2026 | CVE Modified | CISA-ADP |
| Sep 18, 2026 | New CVE Received | [email protected] |
Volerion