CVE-2026-89022

BookStack < 26.05.5 Authentication Bypass via Social Login Provider Confusion

Published Sep 15, 2026 CVSS 4.0 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
BookStack before 26.05.5 contains an authentication bypass vulnerability in its social login implementation that allows unauthenticated attackers to sign in as arbitrary users by authenticating through a different social provider sharing the same driver_id namespace. Attackers can authenticate at one enabled social provider using a user ID that matches an account linked to a different social provider, bypassing credential verification entirely because the SocialAuthService::handleLoginCallback query ignores the driver column when retrieving linked account records.

Analysis

AI-generated

Technical impact

BookStack versions before 26.05.5 contain a flaw in the social to authenticate as any existing user. By selecting a social provider that is enabled and providing a user ID that matches an account linked to a different provider, the system ignores the provider type when looking up the linked account, effectively bypassing credential verification. The result is that anyone can obtain the privileges of any user with only a matching driver ID, giving full access to content, administrative functions, and potentially sensitive configuration data.

Affected Systems

The vulnerability affects the BookStack application from bookstackapp:bookstack. All installations running a version earlier than 26.05.5 are susceptible; newer releases incorporate the fix. No specific version numbers beyond the cutoff are listed in the CNA data.

Risk and Exploitability

The CVSS score of 9.1 indicates critical severity, and the EPSS score of < 1% indicates a very low but non‑zero likelihood of exploitation. The lack of mitigation in older releases means that, if an attacker has knowledge of a valid driver ID and can use an enabled social provider, they can bypass authentication. The flaw is an authentication bypass, a high‑impact type of weakness (CWE‑290). Attackers need only knowledge of a valid driver ID and access to a separate, enabled social provider; there are no prerequisites beyond the existence of the social login feature. The vulnerability is not currently cataloged in CISA KEV, but its severity warrants immediate attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Deploy BookStack 26.05.5 or later driver IDs.
  • If upgrading is not immediately possible, disable all social login providers except those that are absolutely required, thereby removing the vector of confusion between providers.
  • Apply a temporary code change that enforces matching on both the provider driver and the driver ID when querying linked accounts, ensuring the driver column is considered during authentication.

Generated by OpenCVE AI on September 20, 2026 at 15:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:bookstackapp:bookstack:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Bookstackapp
Bookstackapp bookstack
Vendors & Products Bookstackapp
Bookstackapp bookstack
Type Values Removed Values Added
Description BookStack before 26.05.5 contains an authentication bypass vulnerability in its social login implementation that allows unauthenticated attackers to sign in as arbitrary users by authenticating through a different social provider sharing the same driver_id namespace. Attackers can authenticate at one enabled social provider using a user ID that matches an account linked to a different social provider, bypassing credential verification entirely because the SocialAuthService::handleLoginCallback query ignores the driver column when retrieving linked account records.
Title BookStack < 26.05.5 Authentication Bypass via Social Login Provider Confusion
Weaknesses CWE-290
References
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 9.1, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-290

    Authentication Bypass by Spoofing

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 1, 2026, 3:21 PM
Reserved
Sep 10, 2026, 4:23 PM
Status
Deferred
Published
Sep 15, 2026, 5:17 PM
Modified
Sep 16, 2026, 7:47 PM