A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2026-41425

CVE-2026-41425: Authlib CSRF Vulnerability

CVE-2026-41425 is a CSRF vulnerability in Authlib, a Python library for OAuth and OpenID Connect servers. The flaw affects cache features in versions before 1.6.11. This article covers technical details, impact, and mitigation.

Published: April 30, 2026

CVE-2026-41425 Overview

CVE-2026-41425 is a Cross-Site Request Forgery (CSRF) vulnerability affecting Authlib, a Python library used for building OAuth and OpenID Connect servers. Prior to version 1.6.11, the cache feature in authlib.integrations.starlette_client.OAuth lacks CSRF protection, potentially allowing attackers to perform unauthorized actions on behalf of authenticated users.

Critical Impact

Applications using Authlib's Starlette OAuth integration with the cache feature are vulnerable to CSRF attacks, which could allow attackers to forge authentication requests and potentially compromise user sessions or perform unauthorized OAuth operations.

Affected Products

  • Authlib versions prior to 1.6.11
  • Applications using authlib.integrations.starlette_client.OAuth with cache features
  • Python web applications built with Starlette framework utilizing Authlib OAuth integration

Discovery Timeline

  • 2026-04-24 - CVE-2026-41425 published to NVD
  • 2026-04-28 - Last updated in NVD database

Technical Details for CVE-2026-41425

Vulnerability Analysis

This vulnerability (CWE-352: Cross-Site Request Forgery) exists in the Starlette client integration module of Authlib. The cache feature within authlib.integrations.starlette_client.OAuth does not implement proper CSRF token validation, creating a security gap in the OAuth authentication flow.

When an application uses the Starlette OAuth client with caching enabled, the absence of CSRF protection allows malicious actors to craft forged requests that the server may accept as legitimate. This is particularly concerning in OAuth implementations where state parameters and anti-forgery tokens are critical security controls.

The vulnerability requires user interaction—specifically, a victim must visit an attacker-controlled page or click a malicious link while authenticated to the target application. Successful exploitation could lead to unauthorized OAuth operations being performed under the victim's authenticated session.

Root Cause

The root cause is the missing implementation of CSRF protection mechanisms in the cache feature of the Starlette OAuth client integration. OAuth implementations typically rely on state parameters to prevent CSRF attacks during the authorization flow. The cache implementation in affected versions fails to properly validate or enforce these protections, allowing forged requests to bypass security controls.

Attack Vector

The attack is network-based and requires user interaction. An attacker could exploit this vulnerability by:

  1. Crafting a malicious web page or email containing a forged request
  2. Enticing an authenticated user to visit the malicious content
  3. The forged request is sent to the vulnerable application without proper CSRF validation
  4. The application processes the unauthorized OAuth operation as if it were a legitimate user request

Due to the nature of CSRF vulnerabilities, the attacker cannot directly access the response, but they can trigger state-changing operations within the OAuth flow.

The vulnerability exists in the OAuth state management when using the Starlette integration's cache feature. Without proper CSRF token validation, the OAuth authorization callback can be manipulated to accept forged authorization codes or bypass state verification. For detailed technical information, see the GitHub Security Advisory.

Detection Methods for CVE-2026-41425

Indicators of Compromise

  • Unusual OAuth authorization requests originating from unexpected referrer URLs
  • Multiple authorization callbacks with invalid or missing state parameters
  • Authentication anomalies where OAuth tokens are issued without corresponding legitimate user sessions
  • Unexpected session modifications or OAuth token grants in application logs

Detection Strategies

  • Monitor OAuth callback endpoints for requests with missing or manipulated CSRF tokens
  • Implement logging and alerting for OAuth state parameter mismatches
  • Audit application logs for unusual patterns in OAuth authorization flows
  • Analyze web server logs for requests to OAuth endpoints from suspicious referrers

Monitoring Recommendations

  • Enable detailed logging for all OAuth-related endpoints in Starlette applications
  • Monitor for CSRF-related security events in web application firewalls (WAF)
  • Set up alerts for failed state parameter validations in OAuth flows
  • Review Authlib integration configurations to ensure proper security settings are enabled

How to Mitigate CVE-2026-41425

Immediate Actions Required

  • Upgrade Authlib to version 1.6.11 or later immediately
  • Review application logs for any signs of exploitation
  • Audit current OAuth integration configurations for additional security gaps
  • Consider implementing additional CSRF protection layers at the application level

Patch Information

The vulnerability is fixed in Authlib version 1.6.11. Users should upgrade to this version or later to receive the security fix. The patch addresses the missing CSRF protection in the Starlette client OAuth cache feature. For more details, refer to the GitHub Security Advisory.

Workarounds

  • If immediate upgrade is not possible, consider temporarily disabling the cache feature in authlib.integrations.starlette_client.OAuth
  • Implement additional application-level CSRF protection for OAuth endpoints
  • Use session-based state management instead of cache-based approaches where feasible
  • Deploy a WAF with CSRF protection rules to add a defensive layer
bash
# Upgrade Authlib to the patched version
pip install --upgrade authlib>=1.6.11

# Verify installed version
pip show authlib | grep Version

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

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechAuthlib

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-352
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2025-68158: Authlib Python Library CSRF Vulnerability

  • CVE-2026-27962: Authlib Auth Bypass Vulnerability

  • CVE-2026-28490: Authlib Auth Bypass Vulnerability

  • CVE-2026-28498: Authlib Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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