{"id":"CVE-2026-42885","summary":"Audiobookshelf: Path prefix bypass in filesystem existence check leaks out-of-scope file existence","details":"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.","aliases":["GHSA-rhjg-p6cm-38w2"],"modified":"2026-07-15T01:48:58.515021167Z","published":"2026-05-11T19:52:58.149Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42885.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42885.json"},{"type":"ADVISORY","url":"https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-rhjg-p6cm-38w2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42885"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/advplyr/audiobookshelf","events":[{"introduced":"0"},{"fixed":"b41db23994cb678241e0aeb19681f15ee6739c3a"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.33.2"}],"source":"AFFECTED_FIELD"}}],"versions":["v2.33.1","v2.33.0","v2.32.1","v2.32.0","v2.31.0","v2.30.0","v2.29.0","v2.28.0","v2.27.0","v2.26.3","v2.26.2","v2.26.1","v2.26.0","v2.25.1","v2.25.0","v2.24.0","v2.23.0","v2.22.0","v2.21.0","v2.20.0","v2.19.5","v2.19.4","v2.19.3","v2.19.2","v2.19.1","v2.19.0","v2.18.1","v2.18.0","v2.17.7","v2.17.6","v2.17.5","v2.17.4","v2.17.3","v2.17.2","v2.17.1","v2.17.0","v2.16.1","v2.16.2","v2.16.0","v2.15.1","v2.15.0","v2.14.0","v2.13.4","v2.13.3","v2.13.2","v2.13.1","v2.13.0","v2.12.3","v2.12.2","v2.12.1","v2.12.0","v2.11.0","v2.10.1","v2.10.0","v2.9.0","v2.8.1","v2.8.0","v2.7.2","v2.7.1","v2.7.0","v2.6.0","v2.5.0","v2.4.4","v2.4.3","v2.4.2","v2.4.1","v2.4.0","v2.3.5","v2.3.4","v2.3.3","v2.3.2","v2.3.1","v2.3.0","v2.2.23","v2.2.22","v2.2.21","v2.2.20","v2.2.19","v2.2.18","v2.2.17","v2.2.15","v2.2.16","v2.2.14","v2.2.13","v2.2.12","v2.2.11","v2.2.10","v2.2.9","v2.2.8","v2.2.7","v2.2.6","v2.2.5","v2.2.4","v2.2.3","v2.2.2","v2.2.1","v2.2.0","v2.1.5","v2.1.4","v2.1.3","v2.1.2","v2.1.1","v2.1.0","v2.0.24","v2.0.23","v2.0.22","v2.0.21","v2.0.20","v2.0.19","v2.0.18","v2.0.17","v2.0.16","v2.0.15","v2.0.14","v2.0.13","v2.0.12","v2.0.11","v2.0.10","v2.0.9","v2.0.8","v2.0.7","v2.0.6","v2.0.5","v2.0.4","v2.0.3","v2.0.2","v2.0.1","v1.7.2","v1.7.1","v1.7.0","v1.6.0","v1.5.5","v1.5.0","v1.4.11","v1.4.9","v1.4.7","v1.4.6","v1.4.4","v1.4.2","v1.4.1","v1.4.0","v1.3.4","v1.3.3","v1.3.1","v1.2.8","v1.2.6","v1.2.5","v1.2.4","v1.2.1","v1.1.15","v1.1.14","v1.1.13","v1.1.12","v1.1.11","v1.1.10","v1.1.9","v1.1.8","v1.0.0","0.9.61-beta.0","0.9.61-beta"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42885.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}