# CVE-2026-77239: WACRM: Service-role routes missing a role check

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-02)
- Published: 2026-09-18T16:45:27.574Z
- Modified: 2026-09-23T18:12:04.247Z
- Weaknesses: CWE-285
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ArnasDon wacrm: <= 0.7.0

## References

- <https://github.com/ArnasDon/wacrm/security/advisories/GHSA-34q7-fv77-625j>
- <https://github.com/ArnasDon/wacrm/pull/351>
- <https://github.com/ArnasDon/wacrm/commit/03e851bea56dcf6bb21ff1b80ba531372bf3269f>

## Sources

- CVE List: [CVE-2026-77239](https://www.cve.org/CVERecord?id=CVE-2026-77239), CVE Terms of Use, modified 2026-09-18
- NVD: [CVE-2026-77239](https://nvd.nist.gov/vuln/detail/CVE-2026-77239), Public domain, modified 2026-09-23

---

Page: https://cve.day/CVE-2026-77239 · Whole record: https://cve.day/CVE-2026-77239.json · Rebuilt by cve.day 2026-11-25T22:59:39.635Z
