Incorrect authorization in HedgeDoc - #VU170756
Published: November 28, 2026
Vulnerability details
The vulnerability allows a remote user to bypass configured login restrictions and gain access to notes restricted to signed-in users, or to cause a denial of service.
The vulnerability exists due to incorrect authorization in the OAuth2 and SAML login flows when a failed role or group check does not stop login processing, allowing the success and error paths to race. A remote user can attempt to sign in without the required role or group membership to potentially obtain an authenticated session or cause the HedgeDoc process to terminate.