Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 85%

CVE-2026-42885: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in advplyr audiobookshelf

0
Medium
VulnerabilityCVE-2026-42885cvecve-2026-42885cwe-22
Published: 05/11/2026 (05/11/2026, 19:52:58 UTC)
Source: CVE Database V5
Vendor/Project: advplyr
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected software

GitHub Actionsmore threats →ai
advplyr/audiobookshelf
pkg:github/advplyr/audiobookshelf
Affected versions
<2.33.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/12/2026, 02:08:07 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses