{"id":"CVE-2025-25205","state":"PUBLISHED","title":"Remote Authentication-Bypass can lead to server crash or limited information disclosure due to faulty pattern matching","description":"Audiobookshelf is a self-hosted audiobook and podcast server. Starting in version 2.17.0 and prior to version 2.19.1, a flaw in the authentication bypass logic allows unauthenticated requests to match certain unanchored regex patterns in the URL. Attackers can craft URLs containing substrings like \"/api/items/1/cover\" in a query parameter (?r=/api/items/1/cover) to partially bypass authentication or trigger server crashes under certain routes. This could lead to information disclosure of otherwise protected data and, in some cases, a complete denial of service (server crash) if downstream code expects an authenticated user object. Version 2.19.1 contains a patch for the issue.","publishedAt":"2025-02-12T18:16:01.326Z","updatedAt":"2025-02-13T14:14:25.849Z","severity":{"score":8.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["advplyr audiobookshelf"],"affected":[{"vendor":"advplyr","product":"audiobookshelf","versions":[{"version":">= 2.17.0, < 2.19.1","status":"affected"}]}],"references":["https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-pg8v-5jcv-wrvw","https://github.com/advplyr/audiobookshelf/pull/3584","https://github.com/advplyr/audiobookshelf/commit/bf8407274e3ee300af1927ee660d078a7a801e1c","https://github.com/advplyr/audiobookshelf/commit/ec6537656925a43871b07cfee12c9f383844d224","https://github.com/advplyr/audiobookshelf/blob/1a3d70d04100924d41391acb55bd8ddca486a4fa/server/Auth.js#L17-L41"],"weaknesses":["CWE-202","CWE-287","CWE-400"],"ingestedAt":"2026-10-29T20:08:47.682Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/25xxx/CVE-2025-25205.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-25205","state":"PUBLISHED","datePublished":"2025-02-12T18:16:01.326Z","dateUpdated":"2025-02-13T14:14:25.849Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-02-03T19:30:53.401Z"},"containers":{"cna":{"title":"Remote Authentication-Bypass can lead to server crash or limited information disclosure due to faulty pattern matching","descriptions":[{"lang":"en","value":"Audiobookshelf is a self-hosted audiobook and podcast server. Starting in version 2.17.0 and prior to version 2.19.1, a flaw in the authentication bypass logic allows unauthenticated requests to match certain unanchored regex patterns in the URL. Attackers can craft URLs containing substrings like \"/api/items/1/cover\" in a query parameter (?r=/api/items/1/cover) to partially bypass authentication or trigger server crashes under certain routes. This could lead to information disclosure of otherwise protected data and, in some cases, a complete denial of service (server crash) if downstream code expects an authenticated user object. Version 2.19.1 contains a patch for the issue."}],"affected":[{"vendor":"advplyr","product":"audiobookshelf","versions":[{"version":">= 2.17.0, < 2.19.1","status":"affected"}]}],"references":[{"url":"https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-pg8v-5jcv-wrvw","name":"https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-pg8v-5jcv-wrvw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/advplyr/audiobookshelf/pull/3584","name":"https://github.com/advplyr/audiobookshelf/pull/3584","tags":["x_refsource_MISC"]},{"url":"https://github.com/advplyr/audiobookshelf/commit/bf8407274e3ee300af1927ee660d078a7a801e1c","name":"https://github.com/advplyr/audiobookshelf/commit/bf8407274e3ee300af1927ee660d078a7a801e1c","tags":["x_refsource_MISC"]},{"url":"https://github.com/advplyr/audiobookshelf/commit/ec6537656925a43871b07cfee12c9f383844d224","name":"https://github.com/advplyr/audiobookshelf/commit/ec6537656925a43871b07cfee12c9f383844d224","tags":["x_refsource_MISC"]},{"url":"https://github.com/advplyr/audiobookshelf/blob/1a3d70d04100924d41391acb55bd8ddca486a4fa/server/Auth.js#L17-L41","name":"https://github.com/advplyr/audiobookshelf/blob/1a3d70d04100924d41391acb55bd8ddca486a4fa/server/Auth.js#L17-L41","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-202","lang":"en","description":"CWE-202: Exposure of Sensitive Information Through Data Queries","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-287","lang":"en","description":"CWE-287: Improper Authentication","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-400","lang":"en","description":"CWE-400: Uncontrolled Resource Consumption","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-02-12T18:16:01.326Z"},"source":{"advisory":"GHSA-pg8v-5jcv-wrvw","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-13T14:13:30.123643Z","id":"CVE-2025-25205","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-13T14:14:25.849Z"}}]}}}