{"id":"CVE-2026-42885","aliases":["CVE-2026-42885"],"related":[],"kind":"vulnerability","state":"published","title":"Audiobookshelf: Path prefix bypass in filesystem existence check leaks out-of-scope file existence","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Audiobookshelf es un servidor de audiolibros y podcasts autoalojado. Antes de la 2.32.2, el endpoint POST /api/filesystem/pathexists utiliza String.startsWith() para validar que una ruta de archivo resuelta está dentro de una carpeta de biblioteca. Esta comprobación falla para directorios hermanos cuyos nombres comparten un prefijo común (por ejemplo, /audiobooks vs /audiobooks-private), permitiendo a usuarios autenticados con permiso de carga sondear la existencia de archivos fuera de los límites de sus carpetas de biblioteca autorizadas. Esta vulnerabilidad se corrigió en la 2.32.2.","source":"nvd"}],"published":"2026-05-11T19:52:58.149Z","modified":"2026-10-26T18:10:00.173Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 2.33.2","status":"affected"}],"vendor":"advplyr","product":"audiobookshelf","source":"cvelist"}],"references":[{"url":"https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-rhjg-p6cm-38w2","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-05-11T20:21:47.166Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42885","url":"https://www.cve.org/CVERecord?id=CVE-2026-42885","licence":"CVE Terms of Use","modified":"2026-05-11T20:22:08.300Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42885","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42885","licence":"Public domain","modified":"2026-10-26T18:10:00.173Z"}],"updatedAt":"2026-11-25T22:59:21.255Z","epss":{"score":0.00282,"percentile":0.22196,"date":"2026-12-02T12:00:21.000Z"}}