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-2026-41059

CVE-2026-41059: OAuth2 Proxy Auth Bypass Vulnerability

CVE-2026-41059 is an authentication bypass flaw in OAuth2 Proxy versions 7.5.0 through 7.15.1 that allows unauthenticated attackers to access protected resources. This article covers technical details, affected versions, and mitigation.

Published: April 23, 2026

CVE-2026-41059 Overview

CVE-2026-41059 is an authentication bypass vulnerability affecting OAuth2 Proxy, a widely-used reverse proxy that provides authentication using OAuth2 providers. The vulnerability exists in versions 7.5.0 through 7.15.1 and allows unauthenticated attackers to bypass authentication controls by injecting fragment delimiters into request paths.

The flaw is configuration-dependent and affects deployments using skip_auth_routes or the legacy skip_auth_regex settings with patterns that can be widened by attacker-controlled suffixes. When combined with backend applications that interpret # as a fragment delimiter, attackers can craft malicious requests that match public allowlist rules while the backend serves protected resources.

Critical Impact

Unauthenticated attackers can bypass OAuth2 authentication controls to access protected resources, potentially exposing sensitive application data and functionality to unauthorized access.

Affected Products

  • OAuth2 Proxy versions 7.5.0 through 7.15.1
  • Deployments using skip_auth_routes or skip_auth_regex with broad wildcard patterns
  • Configurations where backend applications interpret # as a fragment delimiter

Discovery Timeline

  • 2026-04-22 - CVE-2026-41059 published to NVD
  • 2026-04-22 - Last updated in NVD database

Technical Details for CVE-2026-41059

Vulnerability Analysis

This authentication bypass vulnerability (CWE-288) stems from improper request path normalization in OAuth2 Proxy when evaluating skip-auth rules. The vulnerability allows attackers to manipulate how the proxy interprets request paths versus how the backend application processes the same requests.

The attack exploits a semantic gap between OAuth2 Proxy's path matching logic and backend application routing behavior. When an attacker includes a number sign (#) or its URL-encoded form (%23) in a request path, OAuth2 Proxy may incorrectly match the request against a public allowlist rule. Meanwhile, the backend application may strip the fragment portion and route the request to a protected resource that should require authentication.

For example, if a deployment has a skip-auth rule like ^/foo/.*/bar$ to allow unauthenticated access to certain paths, an attacker could craft a request such as /foo/secret#/bar or /foo/secret%23bar. OAuth2 Proxy might match this against the allowlist pattern and allow the request through without authentication, while the backend strips the fragment and serves content from the protected /foo/secret path.

Root Cause

The root cause is insufficient path normalization before skip-auth matching. OAuth2 Proxy fails to properly handle fragment delimiters in request paths, allowing fragment content to influence allowlist decisions. This creates a mismatch between the path evaluated by the proxy's authentication logic and the path ultimately served by the backend application.

The vulnerability is exacerbated when administrators configure broad wildcard patterns in skip_auth_routes or skip_auth_regex settings, as these patterns are more susceptible to being exploited through suffix injection attacks.

Attack Vector

The attack is network-accessible and requires no authentication or user interaction, making it particularly dangerous for internet-facing deployments. An attacker can exploit this vulnerability by:

  1. Identifying OAuth2 Proxy deployments with skip_auth_routes or skip_auth_regex configurations
  2. Analyzing the public allowlist patterns to find rules with broad wildcards
  3. Crafting requests with # or %23 characters positioned to match allowlist patterns while targeting protected resources
  4. Sending the malicious request to bypass authentication and access protected content

The attack succeeds when the OAuth2 Proxy evaluates the full path (including the fragment portion) against skip-auth rules, but the backend application interprets the fragment delimiter and routes the request to a different, protected path. This exploitation technique requires no special tools—standard HTTP clients or browsers can be used to craft and send the malicious requests.

Detection Methods for CVE-2026-41059

Indicators of Compromise

  • HTTP requests containing %23 or # characters in URL paths (not as true fragment delimiters)
  • Unusual access patterns to protected resources without corresponding authentication events
  • Log entries showing successful resource access without OAuth2 authentication tokens
  • Requests with URL-encoded fragment delimiters followed by path-like suffixes

Detection Strategies

  • Monitor web access logs for requests containing %23 in the path portion of URLs
  • Implement alerting for access to protected endpoints that lack accompanying authentication token validation
  • Review OAuth2 Proxy access logs for requests matching skip-auth rules that should have been authenticated
  • Deploy web application firewall (WAF) rules to detect and alert on fragment injection attempts

Monitoring Recommendations

  • Enable verbose logging on OAuth2 Proxy to capture full request paths including URL-encoded characters
  • Correlate OAuth2 Proxy logs with backend application logs to identify path interpretation discrepancies
  • Monitor for increased unauthenticated access attempts to paths containing wildcard patterns in skip-auth rules
  • Implement anomaly detection for access patterns that bypass normal authentication flows

How to Mitigate CVE-2026-41059

Immediate Actions Required

  • Upgrade OAuth2 Proxy to version 7.15.2 or later, which normalizes request paths more conservatively before skip-auth matching
  • Audit all skip_auth_routes and skip_auth_regex configurations for broad wildcard patterns
  • Replace broad regex rules with exact, anchored public paths and explicit HTTP methods
  • Configure ingress controllers, load balancers, or WAF to reject requests containing %23 or # in URL paths

Patch Information

A fix has been implemented in OAuth2 Proxy version 7.15.2. The patch normalizes request paths more conservatively before skip-auth matching, ensuring that fragment content does not influence allowlist decisions. Users should upgrade to this version or later to fully remediate the vulnerability.

For detailed patch information, refer to the GitHub Security Advisory.

Workarounds

  • Tighten or remove skip_auth_routes and skip_auth_regex rules, especially patterns using broad wildcards across path segments
  • Replace broad wildcard patterns with exact path matches (e.g., use /public/resource instead of /public/.*)
  • Configure explicit HTTP method restrictions alongside path patterns to limit attack surface
  • Deploy WAF rules at the ingress layer to block requests containing %23 or # in URL paths before they reach OAuth2 Proxy
  • Avoid placing sensitive application paths behind broad skip_auth_routes rules
bash
# Example: Reject requests with fragment delimiters at nginx ingress level
# Add to nginx configuration to block requests with %23 or # in path
if ($request_uri ~* "%23|#") {
    return 400;
}

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechOauth2 Proxy

  • SeverityHIGH

  • CVSS Score8.2

  • EPSS Probability0.13%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-288
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-40574: OAuth2 Proxy Auth Bypass Vulnerability

  • CVE-2026-40575: OAuth2 Proxy Auth Bypass Vulnerability

  • CVE-2026-34457: OAuth2 Proxy Authentication Bypass Issue

  • CVE-2026-34454: OAuth2 Proxy Auth Bypass 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