CVE-2025-25205

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

Configuration 1 (hide)

cpe:2.3:a:audiobookshelf:audiobookshelf:*:*:*:*:*:*:*:*

History

03 Jul 2025, 00:58

Type Values Removed Values Added
References () https://github.com/advplyr/audiobookshelf/blob/1a3d70d04100924d41391acb55bd8ddca486a4fa/server/Auth.js#L17-L41 - () https://github.com/advplyr/audiobookshelf/blob/1a3d70d04100924d41391acb55bd8ddca486a4fa/server/Auth.js#L17-L41 - Product
References () https://github.com/advplyr/audiobookshelf/commit/bf8407274e3ee300af1927ee660d078a7a801e1c - () https://github.com/advplyr/audiobookshelf/commit/bf8407274e3ee300af1927ee660d078a7a801e1c - Patch
References () https://github.com/advplyr/audiobookshelf/commit/ec6537656925a43871b07cfee12c9f383844d224 - () https://github.com/advplyr/audiobookshelf/commit/ec6537656925a43871b07cfee12c9f383844d224 - Patch
References () https://github.com/advplyr/audiobookshelf/pull/3584 - () https://github.com/advplyr/audiobookshelf/pull/3584 - Issue Tracking, Patch
References () https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-pg8v-5jcv-wrvw - () https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-pg8v-5jcv-wrvw - Exploit, Vendor Advisory
Summary
  • (es) Audiobookshelf es un servidor de audiolibros y podcasts autoalojado. A partir de la versión 2.17.0 y antes de la versión 2.19.1, una falla en la lógica de omisión de autenticación permite que las solicitudes no autenticadas coincidan con ciertos patrones de expresiones regulares no anclados en la URL. Los atacantes pueden manipuleURL que contengan subcadenas como "/api/items/1/cover" en un parámetro de consulta (?r=/api/items/1/cover) para omitir parcialmente la autenticación o provocar fallas del servidor en ciertas rutas. Esto podría provocar la divulgación de información de datos que de otro modo estarían protegidos y, en algunos casos, una denegación completa del servicio (falla del servidor) si el código descendente espera un objeto de usuario autenticado. La versión 2.19.1 contiene un parche para el problema.
CPE cpe:2.3:a:audiobookshelf:audiobookshelf:*:*:*:*:*:*:*:*
First Time Audiobookshelf
Audiobookshelf audiobookshelf

12 Feb 2025, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-12 19:15

Updated : 2025-07-03 00:58


NVD link : CVE-2025-25205

Mitre link : CVE-2025-25205

CVE.ORG link : CVE-2025-25205


JSON object : View

Products Affected

audiobookshelf

  • audiobookshelf
CWE
CWE-202

Exposure of Sensitive Information Through Data Queries

CWE-287

Improper Authentication

CWE-400

Uncontrolled Resource Consumption