Missing authorization in BookStack image controller exposes restricted images
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-863.
Summary
BookStack before 26.09.3 has a missing authorization check in ImageController::checkImagePermission() that lets authenticated non-admin users act on images whose owning page is in the recycle bin. An attacker with a low-privileged account can enumerate sequential image IDs to view metadata of restricted images, and users with image-update-all or image-delete-all privileges can rename, replace, or permanently delete those images, a change that persists after the page is restored. The flaw is tracked as CWE-863 (Incorrect Authorization).
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the CNA
BookStack before 26.09.3 contains a missing authorization vulnerability in ImageController::checkImagePermission() that allows authenticated non-admin users to bypass page-level content restrictions for images whose owning page has been moved to the recycle bin, because the permission check relies on Page::getPage() which returns null for soft-deleted pages and silently skips the PageView check. Attackers can enumerate sequential image IDs via GET /images/edit/{id} to disclose metadata of restricted images, and users with image-update-all/image-delete-all privileges can rename, replace, or permanently delete images belonging to content they cannot view, persisting the damage even after the page is restored.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| bookstackapp | bookstack | before 26.09.3 | 26.09.3 | Patch available | CNA |
- bookstack Vendorbookstackapp Affected before 26.09.3 Fixed in 26.09.3 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:bookstackapp:bookstack:*:*:*:*:*:*:*:* | — | — | bookstackapp |
- cpe:2.3:a:bookstackapp:bookstack:*:*:*:*:*:*:*:* Versions — — ·bookstackapp
Remediation
Upgrade BookStack to version 26.09.3, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · CNA bookstack (bookstackapp) Fixed in 26.09.3
Timeline
- 2026-11-12 Threatist record created from CVE-2026-125870
- 2026-11-12 Alias added: GHSA-pwxm-hjwv-54xf
- 2026-11-16 CISA SSVC decision points changed
References
Advisory 1
More bookstackapp vulnerabilities
- TI-2026-04803 BookStackApp BookStack Chapter Export ExportFormatter.php chapterToMarkdown access control CVSS 4.0MEDIUM 6.9
- TI-2021-02995 Improper Access Control in bookstackapp/bookstack CVSS 3.1CRITICAL 9.8
- TI-2026-92358 Storage exhaustion in BookStack via ZIP import file references CVSS 4.0MEDIUM 6.9
- TI-2023-04263 Server-Side Request Forgery (SSRF) in bookstackapp/bookstack CVSS 3.1LOW 2.4
- TI-2026-60332 BookStack < 26.05.5 Authentication Bypass via Social Login Provider Confusion CVSS 4.0CRITICAL 9.1
- TI-2026-56847 BookStack before 26.05.4 Remote Code Execution via Book Cover CVSS 4.0HIGH 8.7
Sources
- CVE-2026-125870 · CVE Program
- CVE-2026-125870 · NVD
- FIRST EPSS
- GHSA-pwxm-hjwv-54xf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences