Skip to main content

CVE-2026-77240: CWE-639: Authorization Bypass Through User-Controlled Key in ArnasDon wacrm

0
Critical
VulnerabilityCVE-2026-77240cvecve-2026-77240cwe-639
Published: 09/18/2026 (09/18/2026, 16:43:42 UTC)
Source: CVE Database V5
Vendor/Project: ArnasDon
Product: wacrm

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.

CVSS v3.1

Score 9.9critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected software

ArnasDon

wacrm

Affected versions
<=0.7.0
GitHub Actionsmore threats →ai
arnasdon/wacrm
pkg:github/arnasdon/wacrm
Affected versions
<=0.7.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/18/2026, 17:01:44 UTC

Technical Analysis

In wacrm versions 0.7.0 and earlier, the profiles_update row-level security policy permits authenticated users to alter their account_role and account_id, enabling privilege escalation and tenant switching. Furthermore, the match_ai_knowledge_fts and match_ai_knowledge_semantic functions run as SECURITY DEFINER and accept a caller-controlled p_account_id parameter without verifying account membership, allowing authenticated users to read knowledge-base chunks from other tenants. The issue is addressed by a specific commit that corrects these security flaws.

Potential Impact

An attacker with authenticated access can escalate privileges to higher roles or switch tenants, gaining unauthorized access to or modification of tenant resources. Additionally, they can read sensitive knowledge-base data belonging to other tenants. The vulnerability impacts confidentiality, integrity, and availability of tenant data, rated critical with a CVSS score of 9.9.

Mitigation Recommendations

A fix is available and has been applied in a commit identified as e01f7ed37184f972ace8fb2da5c3e37e56a6050f. Users should upgrade to a version including this commit or later to remediate the vulnerability. No vendor advisory is provided, so verify the fix status in the official repository or release notes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-08-20T19:02:23.415Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aad6b0955bf5e2cf541928c

Added to database: 09/18/2026, 16:47:05 UTC

Last enriched: 09/18/2026, 17:01:44 UTC

Last updated: 09/18/2026, 23:38:06 UTC

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses