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

Published Sep 18, 2026
·
Updated

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.

Affected Software

1 affected component
WACRM<=0.7.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade WACRM (self-hostable CRM template for WhatsApp) to a version that resolves this vulnerability.

    Fixed in 0.7.0Patch 03e851bea56dcf6bb21ff1b80ba531372bf3269f
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.7.0Patch 03e851bea56dcf6bb21ff1b80ba531372bf3269f

Event History

Sep 18, 2026
CVE Published
via MITRE·04:45 PM
Data Sourced
via MITRE·04:45 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit the issue?

Any authenticated account viewer can exploit the affected flow and automation write routes. The attacker does not need the agent role that should be required for these actions.

2

What actions can an unauthorized viewer perform?

A viewer can create, edit, activate, or delete flows. They can also create active automations and trigger outbound WhatsApp actions, enabling unauthorized workflow changes, destructive deletions, and messages or other outbound actions.

3

Which deployments are affected?

WACRM version 0.7.0 and earlier is affected. The issue applies where viewers can access the affected API routes, because those routes use a service-role database client after only checking account membership.

4

How can I remediate the issue?

Apply the fix in commit 03e851bea56dcf6bb21ff1b80ba531372bf3269f. If patching is not immediately possible, restrict or remove viewer access for accounts that must not be able to modify flows or create automations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203