CVE-2024-43797 Path Traversal in audiobookshelf
Non-admin users can exploit missing authorization checks to perform path traversal and write files to arbitrary system directories.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-43797?
CVE-2024-43797 is a medium-severity path traversal vulnerability in advplyr audiobookshelf, published on 2 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
audiobookshelf is a self-hosted audiobook and podcast server. A non-admin user is not allowed to create libraries (or access only the ones they have permission to). However, the `LibraryController` is missing the check for admin user and thus allows a path traversal issue. Allowing non-admin users to write to any directory in the system can be seen as a form of path traversal. However, since it can be restricted to only admin permissions, fixing this is relatively simple and falls more into the realm of Role-Based Access Control (RBAC). This issue has been addressed in release version 2.13.0. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Weakness: CWE-22
Which versions are affected by CVE-2024-43797?
It affects 1 product.
Products include Audiobookshelf Audiobookshelf.
How do I fix CVE-2024-43797?
No fix has been published for CVE-2024-43797 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-43797 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-43797 exists.
Other vulnerabilities in advplyr audiobookshelf
- CVE-2025-57800 Audiobookshelf vulnerable to OIDC token exfiltration and account takeover
- CVE-2025-25205 Remote Authentication-Bypass can lead to server crash or limited information disclosure due to faulty pattern matching
- CVE-2023-47619 Audiobookshelf Server-Side Request Forgery and Arbitrary File Read Vulnerability
- CVE-2023-47624 Audiobookshelf Arbitrary File Read Vulnerability
- CVE-2025-46338 Audiobookshelf Vulnerable to Cross-Site-Scripting Reflected via POST Request in /api/upload
Sources
Also known as GHSA-gg56-vj58-g5mc.