CVE-2026-142309: BookLore through 2.4.0 Path Traversal via Metadata Values in File Move
BookLore through 2.4.0 contains a path traversal vulnerability that allows users with metadata edit permission to relocate book files outside the library root by setting metadata values to '..'. Because PathPatternResolver.sanitize() keeps '..' and FileMoveHelper.generateNewFilePath() never normalizes the joined path or checks it against the library root, the next pattern-based move writes book files and audiobook directories to server-writable locations above the library folder.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
A user must have permission to edit metadata. Exploitation also depends on a subsequent pattern-based file move being performed.
What conditions make an installation exposed?
The affected behavior is present through version 2.4.0. An installation is exposed when metadata values can be edited by users and those values are used in pattern-based moves of books or audiobooks.
What can be done if updating is not immediately possible?
Restrict metadata-edit permission to trusted users and avoid pattern-based moves using user-controlled metadata. Do not allow metadata values containing ".." to be used for moves.
How can administrators check for possible impact?
Review metadata for values containing ".." and inspect the results of recent pattern-based moves. Affected moves may place book files or audiobook directories in server-writable locations above the configured library folder.