CVE-2025-57800 Details
Description
Audiobookshelf is an open-source self-hosted audiobook server. In versions 2.6.0 through 2.26.3, the application does not properly restrict redirect callback URLs during OIDC authentication. An attacker can craft a login link that causes Audiobookshelf to store an arbitrary callback in a cookie, which is later used to redirect the user after authentication. The server then issues a 302 redirect to the attacker-controlled URL, appending sensitive OIDC tokens as query parameters. This allows an attacker to obtain the victim's tokens and perform full account takeover, including creating persistent admin users if the victim is an administrator. Tokens are further leaked via browser history, Referer headers, and server logs. This vulnerability impacts all Audiobookshelf deployments using OIDC; no IdP misconfiguration is required. The issue is fixed in version 2.28.0. No known workarounds exist.
A vulnerability in Audiobookshelf versions 2.6.0 through 2.26.3 allows for improper handling of redirect callback URLs during OpenID Connect (OIDC) authentication. This flaw enables an attacker to create a login link that directs Audiobookshelf to store a malicious callback URL in a cookie. After authentication, the application redirects the user to this attacker-controlled URL, including sensitive OIDC tokens as query parameters. This exploitation allows the attacker to capture the victim's tokens, leading to a complete account takeover. If the compromised account belongs to an administrator, the attacker can create permanent admin users. Additionally, the leaked tokens can be found in browser history, Referer headers, and server logs.
Users should update to Audiobookshelf version 2.28.0, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-523 | Unprotected Transport of Credentials | [email protected] |
| CWE-598 | Use of GET Request Method With Sensitive Query Strings | [email protected] |
| CWE-601 | URL Redirection to Untrusted Site ('Open Redirect') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| audiobookshelf audiobookshelf | >= 2.6.0, < 2.28.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 26, 2025 | Initial Analysis | [email protected] |
| Aug 22, 2025 | New CVE Received | [email protected] |