CVE-2026-42889

Relay Server WebSocket authentication bypass when token is omitted

State
Published
Severity
9.1 Critical
Published
May 12, 2026
Updated
May 13, 2026
Reserved
Apr 30, 2026

Read the record on cve.org

Description

Relay adds real-time collaboration to Obsidian. Relay Server versions 0.9.0 through 0.9.6 contain an authentication bypass in the multi-document WebSocket endpoints. When authentication is configured, WebSocket connections without a token query parameter were incorrectly treated as having full server permissions. An unauthenticated network attacker who knows or guesses a document ID could connect to the document sync WebSocket and read or modify document contents without a valid document token. This vulnerability is fixed in 0.9.7.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NGitHub_M

Weaknesses

  • CWE-863 Incorrect Authorization
  • CWE-639 Authorization Bypass Through User-Controlled Key

Affected Products

ProductVersions
relay-serverNo-Instructions
  • >= 0.9.0, < 0.9.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.