Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain API token with image-update or image-delete scope
-
DeliveryEnumerate target user's avatar image ID via API or profile URL
-
ExploitConfirm avatar's uploaded_to field references an accessible page ID
-
ExecutionSubmit crafted Image Gallery API request with avatar ID
-
PersistAuthorization check passes due to missing avatar-specific restriction
-
ImpactRename, replace, or delete victim's avatar image
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 three concurrent conditions: (1) the attacker must hold a valid BookStack API token with image-update or image-delete permission scope - these are non-default scopes that must be explicitly granted by an administrator; (2) the attacker must know or enumerate the numeric ID of the target user's avatar image; and (3) the target avatar's uploaded_to database field must reference a page ID that falls within the attacker's existing page-access permissions, which is the specific condition under which the broken authorization logic incorrectly approves the request. Instances where API access is restricted to administrators, or where image permissions are not delegated to non-admin tokens, are not exploitable. The impact is bounded to avatar integrity and availability - no path to data exfiltration, privilege escalation, or code execution exists through this vulnerability alone. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L) places this as Medium (5.3), reflecting that exploitation requires an authenticated API token with specific image permissions - not unauthenticated remote access. Impact is confined to the integrity and availability of avatar images; no confidentiality breach or code execution is possible through this path alone. The vulnerability is absent from the CISA KEV catalog and no public POC has been surfaced, so there is no confirmed active exploitation signal. EPSS data was not provided and cannot be independently assessed from the available input. That said, the v26.05.4 release simultaneously patched a remote code execution vulnerability via ZIP import and multiple other issues, making the upgrade urgency significantly higher than this individual CVE's score implies - instances with untrusted users at edit-level access should treat the bundle as high priority. The realistic threat actor is an insider or a compromised API token, not an opportunistic external attacker. |
| Exploit ScenarioDerived | An attacker with a BookStack API token bearing image-update permissions enumerates the numeric ID of a target user's avatar image - discoverable through the API or by observing profile image URLs. If that avatar record's uploaded_to field references a page the attacker can access (a plausible condition on shared instances with broad page visibility), they issue a standard API call to the Image Gallery endpoint to overwrite or delete the avatar, and the authorization check passes without any user-management privilege. No public exploit code is known, but the attack requires only documented API usage. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 24, 2026
Broken access control in BookStack's Image Gallery API before v26.05.4 allows authenticated API users holding image-update or image-delete permissions to manipulate any other user's profile avatar without requiring user-management privileges. The API controller accepts arbitrary image IDs and skips the content-type and gallery restrictions enforced by the web controller; when the target avatar's uploaded_to field references a page the attacker can already access, the authorization check incorrectly passes. Affected operations include renaming, replacing, or deleting the victim's avatar; no public exploit has been identified at time of analysis, and the vulnerability is not listed in the CISA KEV catalog.
RemediationAI
Upgrade BookStack to version 26.05.4 or later; this is the vendor-confirmed patched release per the advisory at https://www.bookstackapp.com/blog/bookstack-release-v26-05-4/, with update instructions at https://www.bookstackapp.com/docs/admin/updates. If immediate upgrade is not possible, revoke image-update and image-delete API permissions from any non-administrator API tokens, which eliminates the attack surface entirely - the trade-off is loss of API-based image management for those tokens. The vendor additionally advises auditing image upload directories for unexpected non-image content using the find commands provided in the release notes, particularly on instances where untrusted users hold edit-level access. Given that this release also addresses a ZIP-import RCE and XSS issues, deferring the upgrade carries compound risk beyond this CVE alone.
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 self-hosted, Laravel-based wiki and documentation platform (CPE: cpe:2.3:a:bookstackapp:bookstack:*:*:*:*:*:*:*:*). The flaw is classified as CWE-863 (Incorrect Authorization): the Image Gallery API controller handles image operations without applying the same content-type restrictions and gallery/drawio guards present in the web controller. Authorization is determined by matching an image record's uploaded_to field against pages accessible to the requester - a correct check for gallery images but an insufficient one for avatar images, since avatars can incidentally reference page IDs the attacker legitimately holds access to. This creates a logic path where the permission model for page images is erroneously applied to user avatar objects, bypassing the separate user-management permission gate that should govern avatar modification.
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:N/VI:L/VA:L/SC:N/SI:N/SA:N
Network vector with low-privilege API token required (PR:L); no confidentiality impact; integrity and availability limited to avatar images only; no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
BookStack before 26.05.4 contains a broken access control vulnerability that allows authenticated API users with image-update or image-delete permissions to manipulate other users' avatars by exploiting missing content-type restrictions in the Image Gallery API endpoints. Attackers can supply a user avatar's ID to the API controller, which loads any image type without the web controller's gallery and drawio restrictions, and when the avatar's uploaded_to field matches a page ID accessible to the attacker, the authorization check passes allowing the attacker to rename, replace, or delete the target user's avatar without requiring user-management permission.
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-64919
GHSA-v32j-vgqh-f22g
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB