{"id":"CVE-2026-42885","state":"PUBLISHED","title":"Audiobookshelf: Path prefix bypass in filesystem existence check leaks out-of-scope file existence","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.","publishedAt":"2026-05-11T19:52:58.149Z","updatedAt":"2026-05-11T20:22:08.300Z","severity":{"score":4.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["advplyr audiobookshelf"],"affected":[{"vendor":"advplyr","product":"audiobookshelf","versions":[{"version":"< 2.33.2","status":"affected"}]}],"references":["https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-rhjg-p6cm-38w2"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/42xxx/CVE-2026-42885.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-42885","state":"PUBLISHED","datePublished":"2026-05-11T19:52:58.149Z","dateUpdated":"2026-05-11T20:22:08.300Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-30T18:49:06.712Z"},"containers":{"cna":{"title":"Audiobookshelf: Path prefix bypass in filesystem existence check leaks out-of-scope file existence","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"advplyr","product":"audiobookshelf","versions":[{"version":"< 2.33.2","status":"affected"}]}],"references":[{"url":"https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-rhjg-p6cm-38w2","name":"https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-rhjg-p6cm-38w2","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-11T19:52:58.149Z"},"source":{"advisory":"GHSA-rhjg-p6cm-38w2","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-rhjg-p6cm-38w2","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-11T20:21:47.166771Z","id":"CVE-2026-42885","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-11T20:22:08.300Z"}}]}}}