Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify BookStack with multiple social providers enabled
-
DeliveryObtain/craft provider account with colliding user ID
-
ExploitComplete OAuth at attacker-controlled provider
-
Executiondriver-agnostic lookup matches victim's linked record
-
ImpactAuthenticated 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
bookstack is vulnerable to Improper Access Control. Rated critical severity (CVSS 9.8), this vulnerability is remotely e
In BookStack before version 0.30.4, a user with permissions to edit a page could add an attached link which would execut
bookstack is vulnerable to Cross-Site Request Forgery (CSRF). Rated medium severity (CVSS 6.8), this vulnerability is re
Book Stack version 23.10.2 allows filtering local files on the server. Rated medium severity (CVSS 6.5), this vulnerabil
bookstack is vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'). Rated medium
bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type. Rated medium severity (CVSS 6.5), this vulne
bookstack is vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'). Rated medium
bookstack is vulnerable to Server-Side Request Forgery (SSRF). Rated medium severity (CVSS 6.5), this vulnerability is r
bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type. Rated medium severity (CVSS 5.7), this vulne
BookStack chapter export functionality allows unauthenticated remote attackers to bypass access controls via manipulatio
Cross-site Scripting (XSS) - Stored in GitHub repository bookstackapp/bookstack prior to v22.02.3. Rated medium severity
bookstack is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Rated m
EUVD-2026-78821
GHSA-54r8-f2jx-5qj6
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB