CVE-2026-125870 BookStack before 26.09.3 Broken Access Control via ImageController
Authenticated non-admin BookStack users can view metadata of restricted images and rename, replace or delete them, persisting content they cannot see.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Harmful if only installed
- No
- Needs a specific call
- No
- Fix
- None listed
What is CVE-2026-125870?
CVE-2026-125870 is a low-severity missing authorization vulnerability in bookstackapp bookstack, published on 12 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-863
Which versions are affected by CVE-2026-125870?
An affected version is exposed as installed. No special setting or call is needed.
How do I fix CVE-2026-125870?
No fix has been published for CVE-2026-125870 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-125870 being exploited?
There is no known exploitation of CVE-2026-125870 in the wild and no public exploit code.
Sources
Also known as GHSA-pwxm-hjwv-54xf.