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.
References
Configurations
No configuration.
History
No history.
Information
Published : 2026-05-11 20:25
Updated : 2026-06-17 10:48
NVD link : CVE-2026-42885
Mitre link : CVE-2026-42885
CVE.ORG link : CVE-2026-42885
JSON object : View
Products Affected
No product.
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
