CVE-2026-42885 Details
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.
A path traversal vulnerability has been identified in Audiobookshelf versions prior to 2.32.2. The issue arises in the POST /api/filesystem/pathexists endpoint, where String.startsWith() is used to validate that a resolved file path is within a library folder. This validation fails for sibling directories that share a common prefix, allowing authenticated users with upload permissions to probe for file existence outside their designated library boundaries. The vulnerability is rooted in an improper string prefix check that can be easily exploited to access restricted filesystem areas.
Users are advised to update to Audiobookshelf version 2.33.2, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 11, 2026CISA-ADP
Assessed May 11, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-rhjg-p6cm-38w2 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-rhjg-p6cm-38w2 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Audiobookshelf | v2.32.1 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 11, 2026 | CVE Modified | CISA-ADP |
| May 11, 2026 | New CVE Received | [email protected] |
Volerion