CVE 4.3 MEDIUM

Audiobookshelf: Path prefix bypass in filesystem existence check leaks out-of-scope file existence_CVE-2026-42885

4.3 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Description

Audiobookshelf is a self-hosted audiobook and podcast server. Prior to 2.32.2, the POST /api/filesystem/pathexists endpoint uses String.startsWith() to validate that a resolved file path is within a library folder. This check fails for sibling directories whose names share a common prefix (e.g., /audiobooks vs /audiobooks-private), allowing authenticated users with upload permission to probe file existence outside their authorized library folder boundaries. This vulnerability is fixed in 2.32.2.

Basic Information

ID CVE-2026-42885
Source GitHub_M
Published May 11, 2026 at 19:52
Modified May 11, 2026 at 20:22

Affected Product

Vendor advplyr
Product audiobookshelf
Version < 2.33.2
Affected Versions advplyr audiobookshelf < 2.33.2

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.