CVE-2026-42885: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in advplyr audiobookshelf
CVE-2026-42885 is a path traversal vulnerability in advplyr's audiobookshelf server versions prior to 2. 33. 2. The issue arises from improper validation of file paths in the POST /api/filesystem/pathexists endpoint, where String. startsWith() is used incorrectly to restrict file access within library folders. This allows authenticated users with upload permissions to probe for file existence outside their authorized directories if sibling directories share common prefixes. The vulnerability has a CVSS score of 4. 3 (medium severity) and does not impact integrity or availability. A fix is available in version 2. 33.
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
CVE-2026-42885 is a path traversal vulnerability in advplyr's audiobookshelf server versions prior to 2. 33. 2. The issue arises from improper validation of file paths in the POST /api/filesystem/pathexists endpoint, where String. startsWith() is used incorrectly to restrict file access within library folders. This allows authenticated users with upload permissions to probe for file existence outside their authorized directories if sibling directories share common prefixes. The vulnerability has a CVSS score of 4. 3 (medium severity) and does not impact integrity or availability. A fix is available in version 2. 33.
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: 5/12/2026, 1:50:49 AM
Last enriched: 5/12/2026, 2:08:07 AM
Last updated: 5/12/2026, 3:45:16 AM
Views: 2
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.