CVE-2026-125870
BookStack before 26.09.3 contains a missing authorization …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- codeberg.org/bookstack/bookstack/releases/tag/v26.09.3
- github.com/BookStackApp/BookStack/releases/tag/v26.09.3
- www.bookstackapp.com/blog/bookstack-release-v26-09-3/
- www.vulncheck.com/advisories/bookstack-before-broken-access-control-via-imagecontroller
- nvd.nist.gov/vuln/detail/CVE-2026-125870
- cve.org/CVERecord?id=CVE-2026-125870
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.