The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-33495

CVE-2026-33495: ORY Oathkeeper Auth Bypass Vulnerability

CVE-2026-33495 is an authentication bypass vulnerability in ORY Oathkeeper that allows attackers to bypass access rules by manipulating X-Forwarded-Proto headers. This article covers technical details, affected versions, and mitigation.

Published: March 27, 2026

CVE-2026-33495 Overview

ORY Oathkeeper, an Identity & Access Proxy (IAP) and Access Control Decision API, contains an authorization bypass vulnerability related to improper handling of the X-Forwarded-Proto header. The vulnerability exists because Oathkeeper did not properly respect the serve.proxy.trust_forwarded_headers configuration option (which defaults to false) and would always consider the X-Forwarded-Proto header when evaluating access rules, regardless of configuration settings.

Oathkeeper is commonly deployed behind other components like CDNs, WAFs, or reverse proxies. In such configurations, upstream components might forward requests with a different protocol (HTTP vs. HTTPS) than the original request. The X-Forwarded-Proto header is used to communicate the original protocol, but prior to version 26.2.0, this header was trusted unconditionally.

Critical Impact

An attacker can manipulate the X-Forwarded-Proto header to bypass access control rules by triggering a different rule than intended, potentially gaining unauthorized access to protected resources.

Affected Products

  • ORY Oathkeeper versions prior to 26.2.0

Discovery Timeline

  • 2026-03-26 - CVE CVE-2026-33495 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-33495

Vulnerability Analysis

This vulnerability is classified as CWE-862 (Missing Authorization). The core issue lies in how ORY Oathkeeper handles the X-Forwarded-Proto header during access rule evaluation. Despite having a configuration option serve.proxy.trust_forwarded_headers that should control whether forwarded headers are trusted, the application unconditionally processed the X-Forwarded-Proto header regardless of this setting.

When Oathkeeper is deployed behind reverse proxies, CDNs, or WAFs, these upstream components may forward requests with protocol information in the X-Forwarded-Proto header. Oathkeeper uses this header value to match requests against configured access rules. The failure to respect the trust configuration means an attacker can inject or manipulate this header to influence which access rule gets applied.

For exploitation to be successful, the target installation must have distinct access rules configured for HTTP and HTTPS requests, and the attacker must be able to trigger one rule but not the other. While these preconditions may limit widespread exploitability, the vulnerability represents a significant deviation from expected security behavior.

Root Cause

The root cause is an implementation flaw in the proxy request enrichment logic. The EnrichRequestedURL() function was called without passing the trust configuration parameter, causing it to always process the X-Forwarded-Proto header regardless of the serve.proxy.trust_forwarded_headers setting. This resulted in the trust configuration being effectively ignored during rule matching.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Identifying an Oathkeeper deployment with separate access rules for HTTP and HTTPS
  2. Crafting HTTP requests with a manipulated X-Forwarded-Proto header
  3. Bypassing intended access controls by causing a different rule to be evaluated

For example, if a sensitive endpoint is protected under HTTPS rules but accessible via HTTP rules, an attacker could add X-Forwarded-Proto: http to their HTTPS request to trigger the less restrictive HTTP rule evaluation path.

go
 		}
 	}
 
-	EnrichRequestedURL(r)
+	EnrichRequestedURL(r, d.c.ProxyTrustForwardedHeaders())
 	rl, err := d.r.RuleMatcher().Match(r.Out.Context(), r.Out.Method, r.Out.URL, rule.ProtocolHTTP)
 	if err != nil {
 		*r.Out = *r.Out.WithContext(context.WithValue(r.Out.Context(), director, err))

Source: GitHub Commit Details

The patch modifies the proxy handler to pass the ProxyTrustForwardedHeaders() configuration value to the EnrichRequestedURL() function, ensuring the trust setting is properly respected during request processing.

Detection Methods for CVE-2026-33495

Indicators of Compromise

  • Unusual or unexpected X-Forwarded-Proto headers in requests that did not originate from trusted reverse proxies
  • Access log entries showing protocol mismatches between actual connection protocol and header-indicated protocol
  • Authentication or authorization anomalies where users access resources via unexpected rule paths

Detection Strategies

  • Monitor incoming HTTP requests for X-Forwarded-Proto headers that contradict the actual connection protocol
  • Implement logging at the Oathkeeper level to capture which access rules are being matched for each request
  • Review access patterns for resources that have different HTTP and HTTPS access rules to identify potential bypass attempts

Monitoring Recommendations

  • Configure upstream WAF or reverse proxy to log and alert on unexpected X-Forwarded-Proto header manipulation attempts
  • Enable detailed access logging in Oathkeeper to track rule evaluation and matching behavior
  • Set up alerts for access control decisions that don't align with expected patterns based on source protocol

How to Mitigate CVE-2026-33495

Immediate Actions Required

  • Upgrade ORY Oathkeeper to version 26.2.0 or later immediately
  • Review and audit existing access rules that differentiate between HTTP and HTTPS requests
  • Configure upstream components (WAF, CDN, reverse proxy) to strip or normalize X-Forwarded-* headers before forwarding to Oathkeeper
  • Verify that the serve.proxy.trust_forwarded_headers configuration is set appropriately for your deployment

Patch Information

ORY has released version 26.2.0 which contains the security fix. The patch ensures that Oathkeeper correctly respects the serve.proxy.trust_forwarded_headers configuration when processing the X-Forwarded-Proto header. Additional technical details are available in the GitHub Security Advisory GHSA-vhr5-ggp3-qq85.

Workarounds

  • Drop unexpected X-Forwarded-* headers at the edge of your network (e.g., in your WAF or reverse proxy) before requests reach Oathkeeper
  • Consolidate HTTP and HTTPS access rules where possible to eliminate rule differentiation that could be exploited
  • Implement additional header validation at upstream components to reject requests with suspicious header combinations
bash
# Configuration example for nginx to strip X-Forwarded-Proto from untrusted sources
# Add to nginx location block before proxying to Oathkeeper
proxy_set_header X-Forwarded-Proto $scheme;
# This overwrites any client-provided X-Forwarded-Proto with the actual scheme

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechOry Oathkeeper

  • SeverityMEDIUM

  • CVSS Score6.5

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-862
  • Technical References
  • GitHub Commit Details

  • GitHub Security Advisory GHSA-vhr5-ggp3-qq85
  • Related CVEs
  • CVE-2026-33496: ORY Oathkeeper Auth Bypass Vulnerability

  • CVE-2026-33494: ORY Oathkeeper 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