Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-5484

CVE-2026-5484: BookStack Auth Bypass Vulnerability

CVE-2026-5484 is an authentication bypass vulnerability in BookStackApp BookStack affecting the Chapter Export Handler. Attackers can exploit improper access controls remotely. This article covers technical details, affected versions, impact, and mitigation steps.

Published: April 10, 2026

CVE-2026-5484 Overview

A weakness has been identified in BookStackApp BookStack up to version 26.03. The vulnerability affects the function chapterToMarkdown within the file app/Exports/ExportFormatter.php of the Chapter Export Handler component. By manipulating the argument pages, an attacker can bypass improper access controls to access pages they should not have permission to view. This attack can be launched remotely, and the exploit has been made publicly available.

Critical Impact

Remote attackers can bypass permission controls during Markdown chapter exports to access restricted pages, potentially exposing sensitive documentation content to unauthorized users.

Affected Products

  • BookStackApp BookStack versions up to 26.03
  • BookStack Chapter Export Handler component
  • app/Exports/ExportFormatter.php module

Discovery Timeline

  • 2026-04-03 - CVE-2026-5484 published to NVD
  • 2026-04-07 - Last updated in NVD database

Technical Details for CVE-2026-5484

Vulnerability Analysis

This vulnerability is classified as CWE-266 (Incorrect Privilege Assignment), manifesting as an authorization bypass in BookStack's chapter export functionality. The core issue lies in how the chapterToMarkdown function retrieves pages for export without properly validating the user's access permissions to each individual page.

When a user exports a chapter to Markdown format, the vulnerable code iterates through all pages associated with the chapter regardless of whether the requesting user has permission to view those pages. This allows authenticated users to export chapter content that may include pages they are explicitly restricted from accessing through normal navigation.

The vulnerability is exploitable remotely through the application's export functionality and requires no special privileges beyond basic authentication. The attack enables information disclosure of potentially sensitive documentation content.

Root Cause

The root cause is the use of $chapter->pages instead of $chapter->getVisiblePages() when iterating through pages for export. The pages property returns all pages in the chapter without filtering based on the current user's permissions, while getVisiblePages() properly applies visibility checks and access control filtering.

This represents a classic authorization bypass where a privileged operation (direct database relationship access) was used instead of the permission-aware alternative, allowing the export function to bypass BookStack's normal access control mechanisms.

Attack Vector

The attack is network-based and can be executed by any authenticated user with access to the chapter export functionality. An attacker would:

  1. Identify a chapter containing pages they cannot normally access
  2. Trigger the Markdown export function for that chapter
  3. Receive an exported document containing content from restricted pages

The following patch shows the fix applied in commit 8a59895ba063040cc8dafd82e94024c406df3d04:

php
             $text .= $description . "\n\n";
         }
 
-        foreach ($chapter->pages as $page) {
+        foreach ($chapter->getVisiblePages() as $page) {
             $text .= $this->pageToMarkdown($page) . "\n\n";
         }

Source: GitHub Commit Details

Additionally, the patch includes hardening of the download response factory to prevent filename injection:

php
     protected function getHeaders(string $fileName, int $fileSize, string $mime = 'application/octet-stream'): array
     {
         $disposition = ($mime === 'application/octet-stream') ? 'attachment' : 'inline';
-        $downloadName = str_replace('"', '', $fileName);
+
+        $downloadName = str_replace(['"', '/', '\\', '$'], '', $fileName);
+        $downloadName = preg_replace('/[\\x00-\\x1F\\x7F]/', '', $downloadName);
+        $encodedDownloadName = rawurlencode($downloadName);
 
         return [
             'Content-Type'           => $mime,
             'Content-Length'         => $fileSize,
-            'Content-Disposition'    => "{$disposition}; filename=\"{$downloadName}\"",
+            'Content-Disposition'    => "{$disposition}; filename*=UTF-8''{$encodedDownloadName}",
             'X-Content-Type-Options' => 'nosniff',
         ];
     }

Source: GitHub Commit Details

Detection Methods for CVE-2026-5484

Indicators of Compromise

  • Unusual chapter export requests from users who have limited page-level permissions
  • Audit logs showing export operations that include pages the requesting user cannot normally view
  • Increased export activity from specific user accounts targeting permission-restricted chapters

Detection Strategies

  • Monitor web application logs for requests to /exports/chapter/ endpoints, particularly from users with restricted permissions
  • Implement audit logging to track which pages are included in chapter exports versus user visibility permissions
  • Review access logs for patterns of bulk export requests that may indicate information harvesting

Monitoring Recommendations

  • Enable detailed audit logging for all export operations in BookStack
  • Configure alerts for export requests that exceed normal usage patterns
  • Implement user behavior analytics to detect potential data exfiltration attempts through export functionality
  • Review and correlate export logs with user permission configurations periodically

How to Mitigate CVE-2026-5484

Immediate Actions Required

  • Upgrade BookStackApp BookStack to version 26.03.1 or later immediately
  • Review recent export logs to identify any potential exploitation attempts
  • Audit user permissions to ensure sensitive pages have appropriate access restrictions
  • Consider temporarily disabling chapter export functionality until patching is complete

Patch Information

The vulnerability is addressed in BookStack version 26.03.1. The fix is contained in commit 8a59895ba063040cc8dafd82e94024c406df3d04, which modifies the chapterToMarkdown function to use getVisiblePages() instead of directly accessing the pages relationship.

For detailed patch information, refer to:

  • GitHub BookStack Release v26.03.1
  • BookStack Blog Release Announcement
  • GitHub Commit Details

Workarounds

  • Restrict access to the chapter export functionality at the web server level until patching is possible
  • Review and tighten page-level permissions to minimize exposure of sensitive content
  • Implement additional monitoring on export endpoints to detect suspicious activity
bash
# Example: Disable chapter export routes in nginx until patched
# Add to your BookStack nginx configuration
location ~* /exports/chapter/ {
    deny all;
    return 403;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechBookstack

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-266
  • Technical References
  • GitHub BookStack Repository

  • GitHub Commit Details

  • GitHub BookStack Release

  • GitHub CVE-Bookstack Analysis

  • VulDB Submission #781762

  • VulDB Vulnerability #355091

  • VulDB CTI for #355091

  • BookStack Blog Release v26.03.1
  • Related CVEs
  • CVE-2023-6199: Bookstackapp Bookstack SSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English