high · CVSS v3 8.1
CVE-2026-77239
WACRM is a self-hostable CRM template for WhatsApp. In versions 0.7.0 and earlier, the application allows any authenticated viewer to create
Overview
WACRM is a self-hostable CRM template for WhatsApp. In versions 0.7.0 and earlier, the application allows any authenticated viewer to create, edit, activate, or delete flows and automations, bypassing row‑level security. This can lead to unauthorized workflow changes and outbound WhatsApp actions.
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.
Impact
Confidentiality: unauthorized viewers can read and modify flow definitions. Integrity: they can delete or alter flows and automations. Availability: destructive deletions may disrupt service. Defenders: administrators and security teams must ensure proper role enforcement.
Remediation
Apply the patch commit 03e851bea56dcf6bb21ff1b80ba531372bf3269f or upgrade to WACRM 0.8.0. Verify that role checks are performed before any service‑role database writes. If upgrade is not possible, restrict viewer access to read‑only or disable flow/automation endpoints for non‑admins.
Risk context
Severity high, CVSS 8.1. No EPSS data available. Immediate attention is recommended to prevent unauthorized workflow manipulation.
Affected products
- WACRM 0.7.0
- WACRM 0.6
- WACRM 0.5
Scores
- Severity
- high
- CVSS v2
- 8.5
- CVSS v3
- 8.1
- CVSS v4
- —
- EPSS
- —