Skip to main content

BookStack EUVDEUVD-2026-78821

| CVE-2026-89022 CRITICAL
Authentication Bypass by Spoofing (CWE-290)
2026-09-15 VulnCheck GHSA-54r8-f2jx-5qj6
9.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify BookStack with multiple social providers enabled
  2. Delivery
    Obtain/craft provider account with colliding user ID
  3. Exploit
    Complete OAuth at attacker-controlled provider
  4. Execution
    driver-agnostic lookup matches victim's linked record
  5. Impact
    Authenticated session as arbitrary/admin user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Anti-spoofing controls
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the BookStack instance to have at least two social login providers enabled that share the same driver_id namespace, because the flaw is that SocialAuthService::handleLoginCallback retrieves linked-account records by driver_id while ignoring the driver column. The attacker must be able to authenticate at one enabled provider using a user ID that matches (collides with) the driver_id of a victim account linked under a different provider. Limiting factors: instances with only a single social provider, or with password-only/LDAP authentication and no overlapping driver_id values, are not exploitable; the required namespace collision and control of a matching provider account is what drives the AC:H rating. No end-user victim interaction is required (UI:N) and no prior authentication to BookStack is needed (PR:N).

Impact

This is a genuine authentication-bypass (CWE-290) enabling full account takeover, and the signals are mostly consistent. The vendor CVSS 4.0 vector (AV:N/AC:H/PR:N/UI:N/VC:H/VI:H/VA:N, 9.1) is well-calibrated: network-reachable and unauthenticated (PR:N), but AC:H correctly reflects that exploitation is not turnkey - it requires the instance to have at least two social login providers enabled sharing the same driver_id namespace, and the attacker must be able to authenticate at one provider with a user ID that collides with a victim's account linked under a different provider. SSVC reinforces a moderate priority: Exploitation:none (no observed activity), Automatable:no (setup-dependent, not spray-and-pray), Technical Impact:total (successful bypass yields the victim's full account, potentially admin). No EPSS score was provided, there is no CISA KEV listing, and no public exploit code is referenced - so this is a patch-promptly issue for exposed BookStack instances using social login, not an emergency mass-exploitation event. The 9.1 headline overstates real-world ease of exploitation somewhat because of the multi-provider/namespace-collision precondition; on a CVSS 3.1 basis this maps closer to ~7.1 (High). No key signals directly conflict, but note EPSS is absent from the input so probabilistic exploitation likelihood cannot be quantified.

Exploit ScenarioDerived

A BookStack instance has two or more social login providers enabled (e.g. Google plus GitHub) whose driver_id values are looked up without distinguishing the provider. An unauthenticated attacker registers/controls an account at one enabled provider whose user ID matches the driver_id of a victim's account linked under a different provider, completes that provider's OAuth flow, and BookStack's SocialAuthService::handleLoginCallback matches the record ignoring the driver column - logging the attacker in as the victim (including a potential administrator). No public exploit code is referenced at time of analysis.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 16, 2026

Authentication bypass in BookStack social login (all versions before 26.05.5) allows unauthenticated attackers to sign in as arbitrary users, enabling full account takeover of both regular accounts and administrators. The flaw is a provider-confusion bug in SocialAuthService::handleLoginCallback, which retrieves linked-account records by driver_id while ignoring the driver column, so an attacker who authenticates at one enabled social provider using a user ID that collides with a victim's driver_id under a different provider is accepted without credential verification. No public exploit identified at time of analysis (CISA SSVC exploitation: none; no KEV listing), and successful exploitation requires two enabled social providers sharing an overlapping driver_id namespace plus attacker control of a matching provider account, which is why vendor scoring lands at CVSS 9.1 while our independent vector (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N) caps the attack at high complexity.

RemediationAI

Upgrade to BookStack 26.05.5, the vendor-released patch for this issue (patch available from vendor; see https://www.bookstackapp.com/blog/bookstack-release-v26-05-5/). If the upgrade cannot be applied immediately, the most effective compensating control is to reduce the attack surface that the bug depends on: disable all social login providers except one, or disable social authentication entirely and fall back to local password or LDAP/SAML authentication - this removes the cross-provider driver_id collision the exploit requires, at the cost of losing single-sign-on convenience for users. Administrators should also audit the social_logins / linked-account table for duplicate driver_id values across differing driver values and review login logs for successful social logins whose provider does not match the account's expected linkage, since any such entry indicates a prior bypass. Note that the mitigation is only complete when no two enabled providers can issue colliding identifiers; simply rotating social provider applications or client secrets does not address the missing driver scoping.

Affected VersionsENISA

BookStack 0 <26.05.5

Affected Packages

euvd bookstack fix: 26.05.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

BookStack is a PHP/Laravel wiki and documentation platform that supports pluggable social (OAuth/OIDC) login drivers through its SocialAuthService. Under CWE-290 (Authentication Bypass by Spoofing), the service resolves an inbound social-login callback to a local user by querying the stored linked-account record using only the provider-supplied user identifier (driver_id) and omitting the driver column from the lookup predicate. Because identity namespaces are not globally unique across providers - for example, an OAuth provider may issue a numeric or handle-based identifier that another provider also issues to a different user - a match on driver_id alone can bind the attacker's provider assertion to a victim's linked record. The affected artifact is cpe:2.3:a:bookstackapp:bookstack:*:*:*:*:*:*:*:* (all BookStack releases before 26.05.5, per EUVD range "0 <26.05.5"), meaning the authentication logic trusts an under-scoped database query rather than a provider-qualified identity tuple. The absence of a driver discriminator is the entire root cause: no cryptographic or token-verification weakness is required, only a cross-provider identifier collision.

Know when Bookstack gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 9.1 CRITICAL
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
vuln.today AI 7.4 HIGH

Network-reachable and unauthenticated (PR:N), but AC:H because it needs multiple providers with a colliding driver_id namespace; full account takeover gives C:H/I:H, no availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Sep 15, 2026 - 17:18 EUVD
CVE Published
Sep 15, 2026 - 16:11 cve.org
CRITICAL 9.1

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

BookStack deployments running any release prior to 26.05.5 are exposed to an authentication bypass in the social login component that permits an unauthenticated outsider to assume the identity of any user, including administrators. Where multiple social providers are enabled and configured with overlapping account identifiers, this can translate directly into full administrative control of the platform, putting the knowledge base contents, embedded credentials, and any integrated systems at risk. Leadership should care because a compromise of this nature is silent, requires no valid credentials, and can be used to harvest sensitive internal documentation or pivot into connected services.

Business Impact: High
Compensating Controls

Apply vendor patch. In the interim, disable secondary social login providers on affected instances and restrict administrative access to trusted networks until version 26.05.5 is deployed.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
popular open-source self-hosted wiki/documentation platform, common but not ubiquitous
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2021-4119 CRITICAL POC
9.8 Dec 15

bookstack is vulnerable to Improper Access Control. Rated critical severity (CVSS 9.8), this vulnerability is remotely e

CVE-2020-26210 HIGH POC
8.7 Nov 03

In BookStack before version 0.30.4, a user with permissions to edit a page could add an attached link which would execut

CVE-2021-3944 MEDIUM POC
6.8 Dec 02

bookstack is vulnerable to Cross-Site Request Forgery (CSRF). Rated medium severity (CVSS 6.8), this vulnerability is re

CVE-2023-6199 MEDIUM POC
6.5 Nov 20

Book Stack version 23.10.2 allows filtering local files on the server. Rated medium severity (CVSS 6.5), this vulnerabil

CVE-2021-3916 MEDIUM POC
6.5 Nov 05

bookstack is vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'). Rated medium

CVE-2021-3906 MEDIUM POC
6.5 Oct 27

bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type. Rated medium severity (CVSS 6.5), this vulne

CVE-2021-3874 MEDIUM POC
6.5 Oct 15

bookstack is vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'). Rated medium

CVE-2021-3758 MEDIUM POC
6.5 Sep 02

bookstack is vulnerable to Server-Side Request Forgery (SSRF). Rated medium severity (CVSS 6.5), this vulnerability is r

CVE-2021-3915 MEDIUM POC
5.7 Nov 13

bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type. Rated medium severity (CVSS 5.7), this vulne

CVE-2026-5484 MEDIUM POC
5.5 Apr 03

BookStack chapter export functionality allows unauthenticated remote attackers to bypass access controls via manipulatio

CVE-2022-0877 MEDIUM POC
5.4 Mar 08

Cross-site Scripting (XSS) - Stored in GitHub repository bookstackapp/bookstack prior to v22.02.3. Rated medium severity

CVE-2021-3768 MEDIUM POC
5.4 Sep 06

bookstack is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Rated m

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy