CVE-2026-138410
Awaiting Analysis Awaiting Analysis - Queue

Incorrect Authorization in BookStack via Comments API

Vulnerability report for CVE-2026-138410, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-30

Last updated on: 2026-11-30

Assigner: VulDB

Description

A weakness has been identified in BookStackApp BookStack up to 26.09.1. This impacts the function restrictEntityRelationQuery of the file app/Permissions/PermissionApplicator.php of the component Comments API. Executing a manipulation can lead to incorrect authorization. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 26.09.2 will fix this issue. This patch is called 7ae9a4e08f4d9c7dba0e0fa4cce84b0e901f2e60. It is recommended to upgrade the affected component.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-30
Last Modified
2026-11-30
Generated
2026-11-30
AI Q&A
2026-11-30
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
bookstackapp bookstack to 26.09.1 (inc)
bookstackapp bookstack 26.09.2

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-863 The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
CWE-285 The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in BookStack up to version 26.09.1 allows incorrect authorization due to a flaw in the Comments API. The issue is in the restrictEntityRelationQuery function of app/Permissions/PermissionApplicator.php, where deleted entities might still be included in relation queries, potentially exposing restricted or removed content.

Detection Guidance

Check BookStack version with: grep '"version"' config/version.php. If version is below 26.09.2, the system is vulnerable. Inspect API responses for comments or attachments on deleted pages using: curl -X GET 'http://<bookstack-url>/api/comments' or curl -X GET 'http://<bookstack-url>/api/attachments'. Look for entries referencing deleted items.

Impact Analysis

An attacker could exploit this to access comments or other related content that should have been deleted or restricted. This may lead to unauthorized data exposure or information leakage, especially if sensitive content was previously removed.

Compliance Impact

This vulnerability could impact compliance by allowing unauthorized access to deleted or restricted data, potentially violating GDPR's right to erasure or HIPAA's data integrity requirements. Organizations using BookStack must ensure proper data handling to meet regulatory standards.

Mitigation Strategies

Upgrade BookStack to version 26.09.2 immediately using the patch 7ae9a4e08f4d9c7dba0e0fa4cce84b0e901f2e60. Verify the update by checking the version in config/version.php. Review API logs for unauthorized access attempts to deleted content.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-138410. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...