# CVE-2026-142309: BookLore through 2.4.0 Path Traversal via Metadata Values in File Move

Source: https://aplosec.si/cve/CVE-2026-142309/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-142309

Low 2.3 · Reported · No fix listed · CWE-22 · Server

# BookLore through 2.4.0 Path Traversal via Metadata Values in File Move

CVE-2026-142309 · published 2026-12-02

In plain words: this type of bug lets someone read or write files outside the folder they should be limited to (path traversal). No fixed release is listed yet.

## Summary

CVE-2026-142309 affects BookLore (Server) <= 2.4.0: Path Traversal via Metadata Values in File Move (CWE-22). No fixed release is listed. CVSS 4.0 base score 2.3 (Low), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/booklore-through-2.4.0-path-traversal-via-metadata-values-in-file-move](https://www.vulncheck.com/advisories/booklore-through-2.4.0-path-traversal-via-metadata-values-in-file-move)

- [Vulnerable codehttps://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/blob/v2.4.0/booklore-api/src/main/java/org/booklore/util/PathPatternResolver.java#L287-L290)

- [Vulnerable codehttps://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/FileMoveHelper.java#L170-L177)

- [Vulnerable codehttps://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/service/file/FileMoveService.java#L312-L319)

- [Releasehttps://github.com/booklore-app/booklore/releases/tag/v2.4.0](https://github.com/booklore-app/booklore/releases/tag/v2.4.0)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142309](https://www.cve.org/CVERecord?id=CVE-2026-142309)

**Severity:** Low 2.3 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-142309)

**Package:** BookLore

**Ecosystem:** Server

**Affected:** <= 2.4.0

**Fixed:** None

**Weakness:** CWE-22

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
