Skip to content

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

MediumCVSS 4.3 EPSS 0.34%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
advplyr audiobookshelf = < 2.33.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
advplyr audiobookshelf = < 2.33.2 No fix listed

References