Skip to main content

BookStack CVE-2026-137062

| EUVDEUVD-2026-135706 MEDIUM
Incorrect Authorization (CWE-863)
2026-11-25 VulnCheck GHSA-c526-x57j-j4r2
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as Editor
  2. Delivery
    Target hierarchy with soft-deleted children
  3. Exploit
    Invoke chapter-to-book or book-to-shelf conversion
  4. Execution
    Reach TrashCan::destroyEntity() without authz check
  5. Persist
    Permanent force-delete of recycle-bin content
  6. Impact
    Restoration prevented (irreversible data loss)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

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

Exploitation Conditions

Exploitation requires an authenticated account with Editor-level privileges (PR:L) and permission to use BookStack's hierarchy conversion actions - specifically 'convert chapter to book' or 'convert book to shelf'. The targeted chapter or book must contain soft-deleted (recycle-bin) children, revisions or attachments for there to be impact; the attacker triggers permanent deletion by running the conversion, which routes through TrashCan::destroyEntity() without the correct authorization check. Limiting factors: it is not remotely exploitable without credentials, affects only data already in the recycle bin, has no confidentiality or service-availability impact, and is fixed in BookStack 26.09.3 (updating is the vendor remedy). It does not require user interaction from a victim.

Impact

This is a medium-severity integrity/data-destruction issue, not a high-urgency emergency. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) confirms network-reachable, low-complexity exploitation but requires authenticated privileges (PR:L) - specifically an Editor-level account in BookStack - so it is not an anonymous internet-facing flaw. Impact is limited to integrity (VC:N/VI:L/VA:N): an authorized Editor can permanently destroy soft-deleted recycle-bin content, including other users' deleted pages, revisions and attachments, defeating restoration. No KEV listing is present (not confirmed actively exploited), no EPSS score was supplied, and no public exploit or PoC code is referenced - only a vendor advisory and the fix commits. The vuln.today decision label is 'this_month', consistent with a real-but-non-emergency authorization bug that needs scheduled patching rather than immediate incident response. The principal risk is a malicious or compromised insider (or an over-permissioned Editor) causing irreversible data loss; external mass exploitation is unlikely given the authentication requirement and single-system scope (SC:N/SI:N/SA:N).

Exploit ScenarioDerived

An authenticated user holding Editor permissions in BookStack invokes the 'convert chapter to book' or 'convert book to shelf' action on a hierarchy that contains soft-deleted children. The conversion path reaches TrashCan::destroyEntity() without a proper authorization check, force-deleting the soft-deleted pages, revisions and attachments - including items another user placed in the recycle bin - so they can no longer be restored. No public exploit code is referenced; the only special requirement is an Editor account and the use of the normal conversion UI/endpoint.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 25, 2026

BookStack releases before 26.09.3 allow an authenticated user with Editor privileges to permanently destroy recycle-bin content by using the hierarchy conversion actions (chapter-to-book or book-to-shelf). Because the conversion path routes through TrashCan::destroyEntity() without an adequate authorization check, any soft-deleted child pages, chapters, revisions and attachments of the converted item are force-deleted rather than preserved, including material deleted by other users, so it can no longer be restored. The issue is rated medium severity (vendor CVSS 4.0 base 5.3; independently assessed CVSS 3.1 AV:N/AC:L/PR:L/UI:N with integrity-only impact), requires credentials and Editor-level conversion rights, and no public exploit code was identified at time of analysis; it is not listed in CISA KEV.

RemediationAI

Vendor-released patch: BookStack 26.09.3. Upgrade all instances running any version before 26.09.3 to 26.09.3 (release https://codeberg.org/bookstack/bookstack/releases/tag/v26.09.3), which contains the authorization and conversion fix in commit c0794b30e0090b12a532cd2a3d5ffb4f317a555f (mirror: https://github.com/BookStackApp/BookStack/commit/c0794b30e0090b12a532cd2a3d5ffb4f317a555f); release notes and upgrade guidance are at https://www.bookstackapp.com/blog/bookstack-release-v26-09-3/. The vendor remedy per the advisory is to update, and the available sources document no separate workaround; until updating is possible, the conversion actions are the only described trigger path, so reviewing which roles currently hold Editor-level access to chapter-to-book and book-to-shelf conversion and keeping recycle-bin content that must be preserved out of chapters and books exposed to those conversions reduces exposure, with the trade-off of restricting legitimate hierarchy-management workflows. No vendor-released patch is required beyond 26.09.3; there is no evidence of active exploitation requiring emergency isolation.

Affected VersionsENISA

BookStack 0 <26.09.3

Affected Packages

euvd bookstack fix: 26.09.3

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

The root cause is CWE-863 (Incorrect Authorization) in BookStack's hierarchy transformation tooling. In app/Entities/Tools/HierarchyTransformer.php, the transformChapterToBook() and transformBookToShelf() methods iterated related entities through normal (non-trashed) relationships such as $chapter->pages and $book->chapters, so soft-deleted children and their deletion records were not carried over to the new parent and were subsequently swept away through TrashCan::destroyEntity(), which permanently removes the entity along with its revisions, attachments and other soft-deleted descendants. The upstream fix in commit c0794b30e0090b12a532cd2a3d5ffb4f317a555f changes the queries to use withTrashed() collections (chapter pages, book chapters, direct pages), sets page chapter_id to null instead of 0, and adds copyChapterDeletionToBook(), which copies the chapter's deleted_at timestamp and re-points its Deletion records to the newly created book so recycle-bin state follows the content across the conversion. Supporting model docblock adjustments (nullable deleted_at, nullable chapter_id) and new tests (test_convert_chapter_migrates_deleted_pages, test_book_convert_to_shelf_migrates_deleted_chapters_and_pages) confirm the intended behaviour: soft-deleted content must survive conversion. The supplied CVSS vector is network-reachable with low privileges and no user interaction, and the trigger path is the conversion endpoint described in the advisory.

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 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.3 MEDIUM

Network-reachable web action with low complexity but requires an authenticated Editor (PR:L); no confidentiality or availability impact, limited integrity impact from irreversible deletion of recycle-bin data.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

BookStack before 26.09.3 contains an incorrect authorization vulnerability that allows authenticated Editors to permanently delete recycle bin content by converting chapters to books or books to shelves. Attackers can trigger TrashCan::destroyEntity() through the conversion actions to force-delete soft-deleted children, revisions and attachments, including content deleted by other users, preventing restoration.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Low
self-hosted open-source wiki/documentation app, modest niche deployment footprint
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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