Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-57800

CVE-2025-57800: Audiobookshelf Auth Bypass Vulnerability

CVE-2025-57800 is an authentication bypass flaw in Audiobookshelf that exploits improper redirect validation during OIDC authentication, enabling attackers to steal tokens and take over accounts. This post covers technical details, affected versions, impact, and mitigation.

Published: April 28, 2026

CVE-2025-57800 Overview

CVE-2025-57800 is an Open Redirect vulnerability affecting Audiobookshelf, an open-source self-hosted audiobook server. The vulnerability exists in versions 2.6.0 through 2.26.3 and stems from improper restriction of redirect callback URLs during OpenID Connect (OIDC) authentication. An attacker can craft a malicious login link that causes Audiobookshelf to store an arbitrary callback URL in a cookie, which is subsequently used to redirect the user after authentication. This allows attackers to intercept sensitive OIDC tokens and achieve full account takeover.

Critical Impact

This vulnerability enables attackers to steal OIDC tokens via crafted redirect URLs, potentially leading to full account takeover including the creation of persistent admin users if the victim has administrator privileges.

Affected Products

  • Audiobookshelf versions 2.6.0 through 2.26.3
  • All Audiobookshelf deployments using OIDC authentication
  • Self-hosted Audiobookshelf instances with OIDC configured (no IdP misconfiguration required)

Discovery Timeline

  • 2025-08-22 - CVE-2025-57800 published to NVD
  • 2025-08-26 - Last updated in NVD database

Technical Details for CVE-2025-57800

Vulnerability Analysis

This vulnerability represents a classic Open Redirect flaw within the OIDC authentication flow. The application fails to validate or restrict the callback URL parameter during the authentication process. When a user initiates OIDC login, Audiobookshelf stores the provided callback URL in a cookie without proper validation. After successful authentication with the identity provider, the server issues a 302 redirect to this attacker-controlled URL, appending sensitive OIDC tokens as query parameters.

The attack is particularly severe because the leaked tokens provide full authentication context. If the victim is an administrator, attackers can leverage these tokens to create persistent admin accounts, effectively establishing a backdoor into the system. Additionally, the tokens are exposed through multiple channels: browser history retains the full URL with tokens, Referer headers leak the tokens to subsequent sites visited, and server logs may capture the complete URL.

Root Cause

The root cause is the absence of proper validation for redirect callback URLs in the OIDC authentication handler. The paramsToCookies function in server/Auth.js did not verify that the callback URL pointed to a trusted destination before storing it and later using it for redirection. This violates the principle of never trusting user-supplied redirect destinations without validation against an allowlist.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker crafts a specially constructed login link containing a malicious callback URL pointing to an attacker-controlled server. When a victim clicks this link and completes OIDC authentication, Audiobookshelf redirects them to the attacker's server with OIDC tokens appended as query parameters. The attacker captures these tokens and can impersonate the victim, gaining full access to their account.

The security patch addressed this vulnerability by implementing callback URL validation and adding security headers to prevent token leakage:

javascript
// Security patch in server/Server.js - Update callback url check
         res.setHeader('Content-Security-Policy', "frame-ancestors 'self'")
       }
 
+      // Security: Prevent referrer leakage to protect against token exposure
+      // Using 'no-referrer' to completely prevent token leakage in referer headers
+      res.setHeader('Referrer-Policy', 'no-referrer')
+
       /**
        * @temporary
        * This is necessary for the ebook & cover API endpoint in the mobile apps

Source: GitHub Commit Update

Detection Methods for CVE-2025-57800

Indicators of Compromise

  • Unusual OIDC authentication requests with external or non-standard callback URLs
  • 302 redirect responses to unknown external domains following successful authentication
  • Authentication logs showing login activity followed by immediate token usage from different IP addresses
  • Unexpected creation of admin user accounts, particularly after reported phishing attempts

Detection Strategies

  • Monitor authentication logs for OIDC callback URLs pointing to external domains
  • Implement alerting for new admin account creation events
  • Review web server logs for suspicious redirect patterns in the authentication flow
  • Correlate authentication events with subsequent API calls from different geographic locations

Monitoring Recommendations

  • Enable verbose logging for OIDC authentication events
  • Configure SIEM rules to detect redirect responses containing tokens in query parameters
  • Monitor for anomalous session activity indicating potential account takeover
  • Track browser Referer header patterns that may indicate token leakage

How to Mitigate CVE-2025-57800

Immediate Actions Required

  • Upgrade Audiobookshelf to version 2.28.0 or later immediately
  • Audit recent OIDC authentication logs for suspicious callback URL patterns
  • Review admin user accounts for unauthorized additions
  • Rotate OIDC client secrets and invalidate existing sessions if compromise is suspected

Patch Information

The vulnerability is fixed in Audiobookshelf version 2.28.0. The patch implements proper validation of callback URLs and adds the Referrer-Policy: no-referrer header to prevent token leakage through Referer headers. Organizations should apply the patch by updating their Audiobookshelf installation to the latest version. The fix is available in commit 99a3867ce934b797e21e6ba5390d4b679e35f7cb. For detailed information, refer to the GitHub Security Advisory.

Workarounds

  • Disable OIDC authentication temporarily until patching is complete (use local authentication only)
  • Implement network-level restrictions to limit Audiobookshelf access to trusted networks
  • Configure a reverse proxy to validate and restrict redirect URLs at the network edge
  • Monitor and alert on any OIDC authentication events until the upgrade is complete
bash
# Configuration example
# Upgrade Audiobookshelf to the patched version
# Using Docker (common deployment method):
docker pull ghcr.io/advplyr/audiobookshelf:2.28.0
docker stop audiobookshelf
docker rm audiobookshelf
docker run -d --name audiobookshelf \
  -p 13378:80 \
  -v /path/to/config:/config \
  -v /path/to/audiobooks:/audiobooks \
  ghcr.io/advplyr/audiobookshelf:2.28.0

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechAudiobookshelf

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.09%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-523
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-27974: Audiobookshelf Mobile App XSS Vulnerability

  • CVE-2026-27973: Audiobookshelf Stored XSS Vulnerability

  • CVE-2026-27963: Audiobookshelf Stored XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English