{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-43797 exists.","fix":"No fix has been published for CVE-2024-43797 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2024-43797 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-43797 exists.\n\nAffected product: advplyr audiobookshelf. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-43797/ (Markdown: https://insights.sbomify.com/CVE-2024-43797/index.md)","id":"CVE-2024-43797","markdown":"https://insights.sbomify.com/CVE-2024-43797/index.md","name":"CVE-2024-43797","record":{"aliases":["GHSA-gg56-vj58-g5mc"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_modify","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Audiobook server","requires_auth":"low_privilege","summary":"Non-admin users can exploit missing authorization checks to perform path traversal and write files to arbitrary system directories.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"audiobookshelf","vendor":"audiobookshelf"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Path Traversal in audiobookshelf","id":"CVE-2024-43797","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":0,"n_references":3,"next":{"headline":"Chisel AUTH environment variable not respected in server entrypoint","id":"CVE-2024-43798"},"packages":[],"prev":{"headline":"express vulnerable to XSS via response.redirect()","id":"CVE-2024-43796"},"products":["audiobookshelf"],"published":"2024-09-02","related":[{"cvss_score":8.8,"headline":"Audiobookshelf vulnerable to OIDC token exfiltration and account takeover","id":"CVE-2025-57800","kev_date_added":null,"published":"2025-08-22"},{"cvss_score":8.2,"headline":"Remote Authentication-Bypass can lead to server crash or limited information disclosure due to faulty pattern matching","id":"CVE-2025-25205","kev_date_added":null,"published":"2025-02-12"},{"cvss_score":8.1,"headline":"Audiobookshelf Server-Side Request Forgery and Arbitrary File Read Vulnerability","id":"CVE-2023-47619","kev_date_added":null,"published":"2023-12-13"},{"cvss_score":7.5,"headline":"Audiobookshelf Arbitrary File Read Vulnerability","id":"CVE-2023-47624","kev_date_added":null,"published":"2023-12-13"},{"cvss_score":6.9,"headline":"Audiobookshelf Vulnerable to Cross-Site-Scripting Reflected via POST Request in /api/upload","id":"CVE-2025-46338","kev_date_added":null,"published":"2025-04-29"},{"cvss_score":4.8,"headline":"Audiobookshelf has Stored XSS in Tooltip.vue via Audiobook Metadata","id":"CVE-2026-27963","kev_date_added":null,"published":"2026-02-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-03","vendors":["advplyr"]},"summary":"Non-admin users can exploit missing authorization checks to perform path traversal and write files to arbitrary system directories.","url":"https://insights.sbomify.com/CVE-2024-43797/"}