/

CVE-2026-70617

Severity:

HIGH RISK

(8.1)

Missing Authorization (CWE-862) in Spacebar Group DMs

CVE-2026-70617

Received

Vulnerability type

Category:

Missing Authorization

CWE:

CWE-862

Impact:

Unauthorized Access to Private Group Conversations

Severity:

HIGH RISK

(8.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A missing authorization check in Spacebar Server allows any authenticated user to add themselves to arbitrary private group direct-message channels. By reaching the recipient-management endpoint without membership verification, an attacker may read message history, post as a participant, or add other users without consent.

Affected context

The vulnerability occurs in Spacebar Server deployments where the group direct-message recipient endpoint accepts PUT requests without confirming that the requesting user is already an authorized channel participant. The affected behavior involves private group DMs and may expose conversations when endpoint access is available to authenticated users.

Exploit preconditions

  • Attack surface: Authenticated HTTP API access to the channel recipient-management endpoint
  • Required access: A valid user account; elevated administrative privileges may not be required
  • Trigger point: A PUT request targeting a group DM recipient route
  • Why exploitation is possible: The handler does not verify that the requester is an existing member or otherwise authorized to modify the channel

Why this happens

The underlying flaw is an authorization decision that is missing or applied too late in the request handler. The endpoint performs a sensitive membership change without enforcing a server-side relationship between the requesting principal and the target channel. This maps to CWE-862: Missing Authorization, where authenticated identity is treated as sufficient permission for an operation that requires additional access control.

Potential impact

  • Attackers may gain access to private group DM message history
  • Unauthorized users could post messages as channel participants
  • Third-party users may be added to private conversations without consent
  • Confidential information could be disclosed
  • Conversation integrity and user trust could be undermined

General mitigation guidance

Mitigation generally centers on enforcing authorization at the server-side channel membership boundary.

Defensive patterns include:

  • Require an authenticated requester to have appropriate membership or moderator authority before changing recipients
  • Apply the same authorization policy consistently across all channel-management routes and methods
  • Deny access by default when channel ownership, membership, or role information is missing
  • Validate target channel type and recipient state before applying membership changes
  • Minimize service and account privileges so a compromised session has limited reach
  • Record and review sensitive membership changes for accountability

How teams detect issues like this

Organizations can look for this issue through:

  • Static analysis and code review checks for channel mutation handlers that lack membership or role checks
  • Tests that exercise private-channel operations with authenticated non-members
  • API policy reviews comparing authorization requirements across equivalent endpoints
  • Monitoring for unusual additions to private group DMs or requests affecting unrelated conversations
  • Automated security review tools that flag state-changing routes without explicit authorization enforcement

Sources

SourceLink
github.comgithub.com/spacebarchat/server/commit/dcfd91035e3da42abf5f32d8d86a35219225b3d4
github.comgithub.com/spacebarchat/server/security/advisories/GHSA-g38j-78fh-jm74
vulncheck.comvulncheck.com/advisories/spacebar-server-missing-authorization-via-group-dm-recipient-endpoint

Frequently asked

questions

Yes, it may be exploitable through the Spacebar Server API by an authenticated user when the affected endpoint is exposed and the authorization check remains absent.

Not necessarily. The described condition requires a valid authenticated account, while administrative privileges are not identified as a prerequisite.

Enforce server-side authorization before processing recipient changes, allowing only channel members or explicitly authorized roles to perform the operation.

Use deny-by-default access control, test every state-changing endpoint with unauthorized principals, and monitor sensitive membership changes for anomalies.

Find out what's already
exploitable in your codebase.