CVE-2026-42885: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in advplyr audiobookshelf
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.
AI Analysis
Technical Summary
Audiobookshelf versions before 2.33.2 contain a path traversal vulnerability (CWE-22) in the POST /api/filesystem/pathexists endpoint. The endpoint attempts to validate that a resolved file path resides within a designated library folder by using String.startsWith(), which fails when sibling directories share a common prefix (e.g., /audiobooks vs /audiobooks-private). This flaw enables authenticated users with upload permission to check for the existence of files outside their authorized library folder boundaries. The vulnerability is fixed in version 2.33.2.
Potential Impact
An authenticated user with upload permissions can probe for the existence of files outside their authorized library folders due to improper pathname validation. This could lead to information disclosure about files and directories outside the intended scope. There is no impact on data integrity or availability. The CVSS score of 4.3 reflects a medium severity with low confidentiality impact and no integrity or availability impact.
Mitigation Recommendations
Upgrade audiobookshelf to version 2.33.2 or later, where this path traversal vulnerability is fixed. Since the vendor advisory confirms the fix in 2.33.2, applying this update fully mitigates the issue. No additional mitigation steps are indicated.
CVE-2026-42885: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in advplyr audiobookshelf
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.
CVSS v3.1
Score 4.3medium
Affected software
pkg:github/advplyr/audiobookshelfRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Audiobookshelf versions before 2.33.2 contain a path traversal vulnerability (CWE-22) in the POST /api/filesystem/pathexists endpoint. The endpoint attempts to validate that a resolved file path resides within a designated library folder by using String.startsWith(), which fails when sibling directories share a common prefix (e.g., /audiobooks vs /audiobooks-private). This flaw enables authenticated users with upload permission to check for the existence of files outside their authorized library folder boundaries. The vulnerability is fixed in version 2.33.2.
Potential Impact
An authenticated user with upload permissions can probe for the existence of files outside their authorized library folders due to improper pathname validation. This could lead to information disclosure about files and directories outside the intended scope. There is no impact on data integrity or availability. The CVSS score of 4.3 reflects a medium severity with low confidentiality impact and no integrity or availability impact.
Mitigation Recommendations
Upgrade audiobookshelf to version 2.33.2 or later, where this path traversal vulnerability is fixed. Since the vendor advisory confirms the fix in 2.33.2, applying this update fully mitigates the issue. No additional mitigation steps are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-30T18:49:06.712Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a028779cbff5d86108b809d
Added to database: 05/12/2026, 01:50:49 UTC
Last enriched: 05/12/2026, 02:08:07 UTC
Last updated: 07/07/2026, 10:33:23 UTC
Views: 73
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.