Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege BookStack account
-
DeliverySend GET request to attachment edit endpoint
-
ExploitManipulate integer ID parameter
-
ExecutionMissing permission check returns attachment metadata
-
ImpactEnumerate attachment data across permission boundaries
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
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 | The attacker must hold a valid BookStack account with at least the lowest privilege tier (PR:L); unauthenticated exploitation is not possible per the CVSS 4.0 PR:L metric. No special configuration, non-default features, or specific platform version beyond BookStack ≤26.05.2 is required - any default BookStack deployment with multi-user access is affected. Exploitation is network-reachable (AV:N) with no user interaction required. The limiting factors are: (1) a valid authenticated session is mandatory, ruling out external unauthenticated attackers; (2) impact is confined to reading attachment form/metadata, not file content download or write operations; (3) organizations running single-user or fully-trusted-user-only BookStack instances face negligible risk. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/E:P) accurately reflects the real-world risk profile: network-reachable, low complexity, but requiring a valid low-privilege account, with impact limited to low confidentiality (attachment metadata/form data only). The published CVSS 3.1-equivalent score of 5.3 appears to use PR:N, which conflicts with the CVSS 4.0 vector's PR:L - the 4.0 vector is more credible given the blog post title confirms an authenticated path. No KEV listing and no evidence of widespread exploitation. A public proof-of-concept blog post exists (E:P in CVSS 4.0), lowering the bar for abuse by authenticated insiders or low-privilege users in multi-tenant BookStack deployments. The realistic impact is attachment metadata disclosure, not full system compromise - the risk is elevated in organizations where BookStack contains sensitive documentation with confidential attachments. |
| Exploit ScenarioDerived | An attacker with any valid BookStack user account - including a minimally privileged reader account - sends HTTP requests to the attachment edit endpoint, iterating through integer ID values in the id parameter. For each ID, the server returns the attachment edit form populated with metadata for that attachment regardless of whether the requesting user has permission on the parent page, leaking filenames, types, and other attachment data from confidential documentation spaces. A public blog post provides a step-by-step demonstration of this technique. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 07, 2026
Improper access control in BookStack ≤26.05.2 allows authenticated low-privileged users to retrieve attachment edit form data for attachments on pages they are not authorized to access, by manipulating the ID parameter in requests to AttachmentController::getUpdateForm. The missing authorization check constitutes an Insecure Direct Object Reference (IDOR), leaking attachment metadata across permission boundaries. A public proof-of-concept blog post documents the attack path, and a vendor patch commit is available.
RemediationAI
Apply the vendor patch by upgrading BookStack to the first release incorporating commit 4e406c41c4c8060a5795e74c66fb96362e54f400; check the BookStack Codeberg releases page to identify the exact patched version. If immediate upgrade is not possible, restrict access to BookStack to fully trusted internal users only - limit account creation to trusted individuals and disable public or guest registration, since the flaw requires a valid authenticated session. Alternatively, block external network access to the BookStack instance via firewall rules, reducing the attack surface to internal users only. Note that these compensating controls do not eliminate the flaw for insider-threat scenarios. The vendor advisory and patch are documented at https://codeberg.org/bookstack/bookstack/commit/4e406c41c4c8060a5795e74c66fb96362e54f400 and the exploit write-up at https://ashutosh-jena.in/blog/broken-access-control-in-bookstack-how-a-missing-permission-check-leaked-attachment-data.
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-based self-hosted wiki and documentation platform. The vulnerable component is AttachmentController::getUpdateForm located at app/Uploads/Controllers/AttachmentController.php. When a user requests the attachment-edit form, the controller accepts an integer ID parameter identifying the target attachment but fails to verify that the requesting user has view/edit permission on the page to which that attachment belongs. CWE-284 (Improper Access Control) precisely describes this failure: the system does not enforce access restrictions consistently across all code paths. The CPE lists the product as bookstack with a placeholder vendor of n/a; the correct vendor is the BookStack open-source project (Bookstack/BookStack on Codeberg).
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:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
Authenticated low-privileged user required (PR:L); only attachment metadata disclosed (C:L); no integrity or availability impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was detected in BookStack up to 26.05.2. Affected by this issue is the function AttachmentController::getUpdateForm of the file app/Uploads/Controllers/AttachmentController.php of the component Attachment Edit Endpoint. The manipulation of the argument ID results in improper access controls. The attack may be launched remotely. The exploit is now public and may be used. The patch is identified as 4e406c41c4c8060a5795e74c66fb96362e54f400. It is advisable to implement a patch to correct this issue.
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
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-72301
GHSA-9rg8-hwc3-hh5g
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB