CVE-2026-142309
LowCVSS 3.1Exploitation Probability (EPSS)
Low risk43th percentile - higher than 43% of all known CVEs
Summary
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.
Risk Assessment
An attacker with metadata edit permission can write files outside the library, potentially overwriting system files or placing malicious content. This can lead to system integrity compromise and privilege escalation.
Recommendation
Upgrade BookLore to a version later than 2.4.0 that normalizes paths and validates them against the library root. Restrict metadata edit permissions to trusted users.
Other vulnerabilities in BookLore
See all- CVE-2026-142312Medium
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.
- CVE-2026-142311Medium
BookLore through 2.4.0 contains an authorization bypass vulnerability in AdditionalFileController that allows authenticated users to download or delete files from books in unassigned libraries. Attackers with access to any book can supply sequential fileId values to the download and delete endpoints, retrieving restricted files or removing files and audiobook folders from disk.
- CVE-2026-142310Medium
BookLore through 2.4.0 contains a missing authorization vulnerability in the GET /api/v1/settings endpoint that allows any authenticated user to read unredacted application settings. Low-privileged users can retrieve the OIDC clientSecret and Google, Hardcover, Comic Vine API keys and Amazon cookie to impersonate the BookLore client and abuse third-party credentials.
- CVE-2025-62614High
In BookLore versions 1.8.1 and prior, an authentication bypass vulnerability in the BookMediaController allows any unauthenticated user to access and download book covers, thumbnails, and complete PDF/CBX page content without authorization. The vulnerability exists because multiple media endpoints lack proper access control annotations, and the CoverJwtFilter continues request processing even when no authentication token is provided. This enables attackers to enumerate and exfiltrate all book content from the system, bypassing the intended download permissions (canDownload) entirely. This issue has been patched via commit b226c43.
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

