CVE-2026-142309
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
References
- https://github.com/booklore-app/booklore/blob/v2.4.0/booklore-api/src/main/java/org/booklore/service/file/FileMoveHelper.java#L170-L177
- https://github.com/booklore-app/booklore/blob/v2.4.0/booklore-api/src/main/java/org/booklore/service/file/FileMoveService.java#L312-L319
- https://github.com/booklore-app/booklore/blob/v2.4.0/booklore-api/src/main/java/org/booklore/util/PathPatternResolver.java#L287-L290
- https://github.com/booklore-app/booklore/releases/tag/v2.4.0
- https://www.vulncheck.com/advisories/booklore-through-2.4.0-path-traversal-via-metadata-values-in-file-move
CWEs
CWE-22
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.