Technical impact
BookStackApp's Comments API contains a weakness in the PermissionApplicator's restrictEntityRelationQuery function that allows attackers to manipulate input and bypass authorization checks. Because the function incorrectly evaluates permissions for entity relationships, an attacker who can send crafted requests to the API endpoint can potentially access or modify content they are not supposed to see. The flaw is mitigated by the public patch that adds proper authorization logic. The weakness is categorized under CWE‑285 and CWE‑863.
Affected Systems
The vulnerability affects installations of BookStackApp BookStack version 26.09.1 and earlier. The fix is available in release 26.09.2 (commit 7ae9a4e08f4d9c7dba0e0fa4cce84b0e901f2e60). Thus any environment running BookStackApp BookStack with the exposed Comments API and without the upgrade should be considered vulnerable.
Risk and Exploitability
The CVSS score of 5.3 indicates a moderate impact; the condition of remote execution and publicly available exploit raise concern for attackers. Although the EPSS score is not disclosed and the vulnerability is not listed in CISA's KEV catalog, the possibility of remote abuse makes it advisable to remediate quickly. The attack can generally be launched by sending crafted HTTP requests to the Comments API and does not require privileged privileges on the host.