{"id":"CVE-2026-77239","published":"2026-09-18T17:17:00.200","lastModified":"2026-09-23T18:12:04.247","description":"WACRM is a self-hostable CRM template for WhatsApp. In version 0.7.0 and earlier, WACRM flow and automation write routes authenticate account viewers but do not enforce the agent role before using a service-role database client that bypasses row-level security. In src/app/api/flows/[id]/route.ts, src/app/api/flows/[id]/activate/route.ts, and src/app/api/flows/route.ts, a viewer can create, edit, activate, or delete flows because membership-only checks are followed by service-role writes. In src/app/api/automations/route.ts and src/app/api/automations/engine/route.ts, a viewer can create active automations and trigger outbound WhatsApp actions without the role required by the underlying write policies. This can permit unauthorized workflow changes, destructive flow deletion, and outbound actions from a role intended to be read-only. This vulnerability is fixed with commit 03e851bea56dcf6bb21ff1b80ba531372bf3269f.","cvssScore":8.1,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","cwes":["CWE-285"],"vendors":[],"products":[],"references":[{"url":"https://github.com/ArnasDon/wacrm/commit/03e851bea56dcf6bb21ff1b80ba531372bf3269f","tags":[]},{"url":"https://github.com/ArnasDon/wacrm/pull/351","tags":[]},{"url":"https://github.com/ArnasDon/wacrm/security/advisories/GHSA-34q7-fv77-625j","tags":[]}],"exploitRefs":[{"url":"https://github.com/ArnasDon/wacrm/commit/03e851bea56dcf6bb21ff1b80ba531372bf3269f","tags":[]},{"url":"https://github.com/ArnasDon/wacrm/pull/351","tags":[]},{"url":"https://github.com/ArnasDon/wacrm/security/advisories/GHSA-34q7-fv77-625j","tags":[]}],"hasPoc":true,"ai":{"summary":"WACRM versions 0.7.0 and earlier allow unauthorized users to modify and delete flows and create active automations, bypassing role-based security.","exploitability":"Exploitation is relatively easy as it requires a viewer role, which is often less restrictive than an agent role.","blast_radius":"This vulnerability could lead to unauthorized workflow changes, destructive flow deletion, and unauthorized outbound WhatsApp actions.","remediation":"Upgrade to version 0.7.1 or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["auth-bypass","web","crm"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-10-05T08:44:34.616Z"}}