Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-108731 Overview
CVE-2026-108731 is a missing authorization vulnerability [CWE-862] in Raven, a messaging application built on the Frappe framework. The flaw affects Raven versions 2.0.0 through 3.0.0 and allows authenticated users to bypass the can_only_join_via_invite setting on Public workspaces. Any account holding the Raven User role can call the join_workspace method and become a persistent member of an invite-only Public workspace. Once joined, the attacker can read and post messages in both Public and Open channels within that workspace.
Critical Impact
Authenticated low-privilege users can bypass invite-only enforcement to access and participate in restricted Public workspaces, exposing internal communications.
Affected Products
- Raven 2.0.0 (The Commit Company)
- Raven versions between 2.0.0 and 3.0.0
- Raven 3.0.0 (The Commit Company)
Discovery Timeline
- 2026-10-11 - CVE-2026-108731 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-108731
Vulnerability Analysis
Raven workspaces support a can_only_join_via_invite flag intended to restrict membership to users who have received an explicit invitation. The vulnerability stems from the server-side join_workspace API endpoint failing to enforce that flag before granting membership. Any authenticated account with the standard Raven User role can invoke the method directly against a Public workspace and be added as a member. After the join succeeds, the user gains read and write access to Public and Open channels within the workspace. This exposes internal discussions, shared files, and other communications intended only for invited collaborators. The issue is scoped to Public workspaces; private workspaces remain gated by their separate access checks.
Root Cause
The root cause is a missing authorization check in the join_workspace method defined in raven/api/workspaces.py. The permission logic in raven/permissions.py does not evaluate the can_only_join_via_invite setting prior to allowing a user to self-enroll into a Public workspace. The server trusts the client-initiated join request without validating whether the workspace requires an invite record for the calling user.
Attack Vector
Exploitation requires only a valid Raven account with the Raven User role and network access to the Raven API. The attacker enumerates target workspace identifiers and issues a direct call to the join_workspace method with the chosen workspace ID. The server adds the attacker as a member without checking invite status. See the VulnCheck Advisory on Raven and the HackMD technical write-up for a detailed exploitation walkthrough.
No verified exploit code is published. The vulnerable call pattern is documented in the workspaces API source and the permissions module.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-108731
Indicators of Compromise
- Unexpected Raven Workspace Member records created without a corresponding invite record for the same user and workspace.
- API access logs showing calls to raven.api.workspaces.join_workspace targeting workspaces configured with can_only_join_via_invite = 1.
- New channel subscriptions or message authorship from users who were never explicitly invited to the workspace.
Detection Strategies
- Query the Raven database for Workspace Member rows where the member's user ID does not match any accepted invite for that workspace.
- Correlate workspace join events against the workspace's invite-only flag to flag any join that bypasses the setting.
- Review message and channel activity audit trails for first-time posts by users who joined after the vulnerable code was deployed.
Monitoring Recommendations
- Enable verbose logging on the Frappe application layer for join_workspace method invocations and ship the logs to a central SIEM.
- Alert on workspace membership changes in invite-only Public workspaces as high-signal events.
- Baseline the normal rate of workspace joins per user and alert on users joining multiple restricted workspaces within short time windows.
How to Mitigate CVE-2026-108731
Immediate Actions Required
- Inventory all Raven deployments and identify instances running versions 2.0.0 through 3.0.0.
- Audit current workspace membership against invite records and remove unauthorized members from invite-only Public workspaces.
- Rotate or revoke access tokens for Raven User accounts suspected of exploiting the flaw.
- Restrict network exposure of the Raven API to trusted users while remediation is in progress.
Patch Information
No fixed version was listed in the NVD entry at the time of publication. Consult the Raven GitHub repository for the latest release notes and apply any upstream fix that enforces can_only_join_via_invite in the join_workspace method and the surrounding permission checks.
Workarounds
- Temporarily set affected workspaces to Private, which uses a separate membership model not impacted by this flaw.
- Remove the Raven User role from accounts that do not require workspace participation until the fix is applied.
- Add a server-side hook or custom override on join_workspace that validates an active invite record before permitting membership changes.
# Example: list Raven workspace members lacking a matching invite (run on the Frappe bench)
bench --site <sitename> execute frappe.db.sql --args "[\"SELECT wm.user, wm.workspace FROM \`tabRaven Workspace Member\` wm LEFT JOIN \`tabRaven Workspace Invite\` wi ON wi.user = wm.user AND wi.workspace = wm.workspace WHERE wi.name IS NULL\"]"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

