Security Resilience

CVE-2025-25205

Auth Bypass in Audiobookshelf 2.17.0 – 2.19.1

Public PoCAuth BypassDoS
Published
12 February 2025
Modified
03 July 2025
Patch / advisory
CVSS Score v3.1 8.2
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
EPSS Score 0.050 92th percentile
Risk Priority 68 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-25205 is a high-severity Exposure of Sensitive Information Through Data Queries (CWE-202) vulnerability in Audiobookshelf. Its CVSS base score is 8.2 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Databases (T1213.006); ranked in the top 8% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-23 (Data Mining Protection) and IA-2 (Identification and Authentication (Organizational Users)) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Audiobookshelf, a self-hosted audiobook and podcast server, is affected by CVE-2025-25205 in versions starting from 2.17.0 and prior to 2.19.1. The vulnerability arises from a flaw in the authentication bypass logic, where unauthenticated requests can match certain unanchored regex patterns in the URL. This issue, published on 2025-02-12, carries a CVSS v3.1 base score of 8.2 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H) and maps to CWEs 202 (sensitive data exposure), 287 (improper authentication), and 400 (uncontrolled resource consumption).

Unauthenticated attackers with network access can exploit this vulnerability by crafting malicious URLs containing substrings like "/api/items/1/cover" within a query parameter, such as ?r=/api/items/1/cover. This enables partial bypass of authentication, potentially disclosing otherwise protected data. In certain routes, the flaw can also cause server crashes if downstream code assumes an authenticated user object is present, leading to denial of service.

The vulnerability is addressed in Audiobookshelf version 2.19.1. Mitigation details are outlined in the GitHub security advisory (GHSA-pg8v-5jcv-wrvw), pull request #3584, and commits bf8407274e3ee300af1927ee660d078a7a801e1c and ec6537656925a43871b07cfee12c9f383844d224, with the affected authentication logic visible in server/Auth.js lines 17-41.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1213.006 Databases Collection
Adversaries may leverage databases to mine valuable information.
T1589.002 Email Addresses Reconnaissance
Adversaries may gather email addresses that can be used during targeting.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-20388Shared CWE-202
CVE-2024-38892Shared CWE-202
CVE-2024-13255Shared CWE-202
CVE-2026-42797Shared CWE-202
CVE-2024-2088Shared CWE-202
CVE-2024-1287Shared CWE-202
CVE-2025-29981Shared CWE-202
CVE-2026-79633Shared CWE-202
CVE-2026-30778Shared CWE-202
CVE-2026-3546Shared CWE-202

Affected Assets

audiobookshelf
audiobookshelf
2.17.0 — 2.19.1

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Mandates unique identification and authentication of organizational users before access, directly stopping improper authentication.

Requires unique identification and authentication of devices before establishing connections, preventing unauthenticated device claims.

Mandates unique identification and authentication of non-organizational users, directly addressing the weakness for external actors.

AC-23 directly requires mechanisms to protect against unauthorized data mining and inference from statistical queries that would expose sensitive information.

Manages authenticators with verification and secure distribution, reducing opportunities for improper authentication.

SC-5 directly limits the effects of resource-exhaustion events that constitute uncontrolled consumption.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.AA-05 mostly match
blocks

Least-privilege query permissions directly limit the data an attacker can request or infer.

DE.CM-03 partial match
blocks

Behavior analytics on query activity can detect inference attempts but does not prevent exposure at query time.

PR.DS-10 partial match
blocks

Protecting data-in-use reduces what remains available for inference via queries.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

blocks

Data masking prevents inference by obscuring sensitive values returned in query results.

finds

Resource-utilization monitoring and alerting on bottlenecks or overloads limits the impact of denial-of-service or resource-exhaustion attacks.

blocks

Mandating segregated approval and oversight for non-human identities reduces the chance that weak or orphaned credentials can be exploited for unauthorized authentication.

prevents

Training can raise developer awareness of inference attacks and lead some to design query interfaces that resist statistical disclosure, but this is a subtle design-level weakness requiring specific technical knowledge (k-anonymity, query thresholds, etc.) that general security training only partially conveys, so it moves a minority of instances.

finds

DLP can detect and block queries or result sets that risk exposing sensitive information.

blocks

A.8.20 implements network-level protections (firewalls, segmentation, protocol hardening, monitoring, authentication of systems/devices) that can limit abuse of a resource-consuming weakness but do not stop the weakness from being exploitable; the flaw remains present in the product and can still be triggered from an authorized or internal context.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-287, a class-level weakness. Rules are authored against its narrower children: CWE-295, CWE-306.
  • No fine-grained STIG row for CWE-400, a class-level weakness. Rules are authored against its narrower children: CWE-770.

References