CVE-2025-25205: Remote Authentication-Bypass can lead to server crash or limited information disclosure due to faulty pattern matching
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Audiobookshelfto a version that resolves this vulnerability.Fixed in 2.19.1
Event History
Frequently Asked Questions
What is the severity of CVE-2025-25205?
CVE-2025-25205 has a high severity due to the potential for authentication bypass.
How do I fix CVE-2025-25205?
To remediate CVE-2025-25205, upgrade to Audiobookshelf version 2.19.1 or later.
What versions are affected by CVE-2025-25205?
CVE-2025-25205 affects Audiobookshelf versions from 2.17.0 to 2.19.0.
What capabilities does CVE-2025-25205 provide to attackers?
CVE-2025-25205 allows attackers to make unauthenticated requests that can exploit specific regex patterns.
Is there a public advisory for CVE-2025-25205?
Yes, there is a public security advisory detailing CVE-2025-25205 available on GitHub.