CVE-2026-42888
Path Traversal in Audiobookshelf Server
Publication date: 2026-05-11
Last updated on: 2026-05-11
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| audiobookshelf | audiobookshelf | 2.32.2 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-22 | The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in Audiobookshelf, a self-hosted audiobook and podcast server. Before version 2.32.2, the podcast creation endpoint in the server's PodcastController.js file accepts a file path provided by the user without properly validating that the path stays within the intended library directory.
Because of insufficient boundary validation, an attacker could potentially specify a file path that escapes the designated directory, which could lead to unauthorized access or manipulation of files outside the allowed area.
This issue was fixed in version 2.32.2 of Audiobookshelf.
How can this vulnerability impact me? :
This vulnerability can allow an attacker to access or modify files outside the intended library directory by exploiting the lack of proper path validation.
Such unauthorized file access could lead to data leakage, data corruption, or unauthorized changes to the server's files, potentially compromising the integrity and confidentiality of the system.
What immediate steps should I take to mitigate this vulnerability?
The vulnerability is fixed in Audiobookshelf version 2.32.2. The immediate step to mitigate this vulnerability is to upgrade your Audiobookshelf installation to version 2.32.2 or later.