---
id: "CVE-2026-125870"
page: "https://infrastack.ai/live/CVE-2026-125870"
kind: "vulnerability"
aliases: ["CVE-2026-125870"]
title: "BookStack: deleted-page image permission check lets users reach restricted images"
severity: "medium"
cvss: 4.2
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["bookstack", "package", "self-hosted"]
not_affected_if: ["bookstack-26.09.3-or-later", "single-user-instance"]
published_at: "2026-11-12T13:17:15+00:00"
first_seen_at: "2026-11-12T13:38:24+00:00"
updated_at: "2026-11-12T13:38:54+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125870", "first_seen_at": "2026-11-12T13:38:24+00:00"}]
exploit_sources: []
---

# BookStack: deleted-page image permission check lets users reach restricted images

Link for people: https://infrastack.ai/live/CVE-2026-125870 (this .md is for agents)

BookStack skips the page-view permission check for images whose page is in the recycle bin. An authenticated non-admin user can read metadata of those images and, with image-update-all or image-delete-all rights, rename, replace or delete them.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed BookStack version against the fixed release in the release notes linked from the sources.
- Look for BookStack installs where non-admin users hold image-update-all or image-delete-all permissions.

## Fix

- BookStack: upgrade to `26.09.3` or later.

## Timeline

- 2026-11-12T13:38:24+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-125870

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/bookstack-before-broken-access-control-via-imagecontroller
- [fix] Release notes: github.com https://github.com/BookStackApp/BookStack/releases/tag/v26.09.3

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
