CVE-2026-142312: BookLore through 2.4.0 Incorrect Authorization via File Upload Endpoint
BookLore through 2.4.0 contains an incorrect authorization vulnerability in FileUploadController that allows authenticated users with upload permission to write books into unassigned libraries. Attackers can supply arbitrary libraryId and pathId values to FileUploadService.uploadFile(), bypassing the missing CheckLibraryAccess check to add files to libraries they cannot read.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated BookLore user who has upload permission can exploit it. The user does not need read access to the target library.
What access does an attacker need to target another library?
The attacker needs to be able to invoke the file-upload functionality and supply arbitrary libraryId and pathId values to FileUploadService.uploadFile(). The affected authorization check does not verify access to the selected library.
What is the impact on a library an attacker cannot read?
The attacker can add book files to an unassigned library despite lacking permission to read that library. The provided information identifies an integrity impact, not disclosure or availability impact.
Which versions are identified as affected?
BookLore through version 2.4.0 is identified as affected. No fixed version is provided in the available data.