# CVE-2026-42885: Audiobookshelf: Path prefix bypass in filesystem existence check leaks out-of-scope file existence

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-11T19:52:58.149Z
- Modified: 2026-10-26T18:10:00.173Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- advplyr audiobookshelf: < 2.33.2

## References

- <https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-rhjg-p6cm-38w2> (exploit)

## Sources

- CVE List: [CVE-2026-42885](https://www.cve.org/CVERecord?id=CVE-2026-42885), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-42885](https://nvd.nist.gov/vuln/detail/CVE-2026-42885), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42885 · Whole record: https://cve.day/CVE-2026-42885.json · Rebuilt by cve.day 2026-11-25T22:59:21.255Z
