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-22032

CVE-2026-22032: Directus SAML Auth Bypass Vulnerability

CVE-2026-22032 is an authentication bypass flaw in Directus SAML authentication that enables open redirect attacks via unvalidated RelayState parameters. This article covers the technical details, affected versions, and patches.

Updated: January 22, 2026

CVE-2026-22032 Overview

CVE-2026-22032 is an open redirect vulnerability affecting Directus, a real-time API and App dashboard for managing SQL database content. The vulnerability exists in the SAML authentication callback endpoint where the RelayState parameter, intended to preserve a user's original destination, lacks proper validation. While the login initiation flow validates redirect targets against allowed domains, this critical validation is not applied to the callback endpoint, enabling attackers to redirect users to arbitrary external URLs.

Critical Impact

Attackers can craft malicious SAML authentication requests that redirect users to attacker-controlled websites upon authentication completion, enabling phishing attacks, credential theft, and malware distribution.

Affected Products

  • Directus versions prior to 11.14.0
  • Directus SAML authentication module
  • Directus API authentication endpoints

Discovery Timeline

  • 2026-01-08 - CVE CVE-2026-22032 published to NVD
  • 2026-01-08 - Last updated in NVD database

Technical Details for CVE-2026-22032

Vulnerability Analysis

This open redirect vulnerability (CWE-601) allows unauthenticated attackers to abuse the Directus SAML authentication flow. The core issue stems from inconsistent validation of redirect targets between the login initiation and callback phases of SAML authentication. When a user completes SAML authentication, the application uses the RelayState parameter to redirect the user to their intended destination. However, the callback endpoint fails to verify whether this redirect target belongs to an allowed domain.

The vulnerability affects both success and error handling paths within the callback, meaning attackers can exploit the flaw regardless of whether authentication succeeds or fails. Since SAML authentication flows are typically initiated via links sent to users, this creates an ideal attack surface for phishing campaigns where victims believe they are interacting with legitimate authentication systems.

Root Cause

The root cause is insufficient validation of the RelayState parameter in the SAML callback endpoint. The isLoginRedirectAllowed utility function exists in the codebase to validate redirect targets against configured allowed domains, but this validation was not being applied during the callback phase. The login initiation properly calls this validation function, but the callback handler accepted arbitrary URLs without verification, creating an inconsistency in security controls.

Attack Vector

An attacker exploits this vulnerability by crafting a malicious SAML authentication request containing an attacker-controlled URL in the RelayState parameter. The attack flow proceeds as follows:

  1. Attacker creates a link to the target Directus instance's SAML authentication endpoint
  2. The RelayState parameter is set to an attacker-controlled phishing site
  3. Victim clicks the link, believing it leads to legitimate Directus authentication
  4. Upon completing SAML authentication, the victim is redirected to the malicious site
  5. The attacker can harvest credentials, deliver malware, or conduct further attacks

The vulnerability requires no authentication to exploit and relies on user interaction (clicking the malicious link).

typescript
// Security patch from api/src/auth/drivers/saml.ts
 import type { AuthDriverOptions, User } from '../../types/index.js';
 import asyncHandler from '../../utils/async-handler.js';
 import { getConfigFromEnv } from '../../utils/get-config-from-env.js';
-import { LocalAuthDriver } from './local.js';
-import { isLoginRedirectAllowed } from '../../utils/is-login-redirect-allowed.js';
 import { getSchema } from '../../utils/get-schema.js';
+import { isLoginRedirectAllowed } from '../../utils/is-login-redirect-allowed.js';
+import { LocalAuthDriver } from './local.js';

// Register the samlify schema validator
samlify.setSchemaValidator(validator);

Source: GitHub Commit Update

Detection Methods for CVE-2026-22032

Indicators of Compromise

  • Unusual SAML authentication requests with external URLs in RelayState parameters
  • Authentication logs showing redirects to domains outside the organization's control
  • User reports of being redirected to suspicious websites after Directus authentication
  • Web server logs containing SAML callback requests with unfamiliar or malicious redirect targets

Detection Strategies

  • Monitor SAML authentication endpoints for RelayState values pointing to external domains
  • Implement web application firewall (WAF) rules to inspect and block suspicious redirect patterns
  • Enable detailed logging on Directus authentication endpoints to capture full request parameters
  • Deploy endpoint detection to identify users being redirected to known malicious domains after authentication

Monitoring Recommendations

  • Configure alerts for SAML callback requests containing external URLs in redirect parameters
  • Establish baseline of normal authentication redirect patterns to identify anomalous activity
  • Integrate Directus authentication logs with SIEM for correlation with known phishing campaigns
  • Monitor for spikes in authentication flows that terminate with external redirects

How to Mitigate CVE-2026-22032

Immediate Actions Required

  • Upgrade Directus to version 11.14.0 or later immediately
  • Review authentication logs for evidence of exploitation attempts
  • Alert users to be cautious of unexpected redirects after SAML authentication
  • Consider temporarily disabling SAML authentication if upgrade cannot be immediately applied

Patch Information

Directus version 11.14.0 contains the security patch that addresses this vulnerability. The fix ensures that the isLoginRedirectAllowed validation function is consistently applied to the SAML callback endpoint, preventing redirects to unauthorized external domains. Organizations should update to this version as soon as possible.

For technical details on the patch, see the GitHub Commit Update and the GitHub Security Advisory GHSA-3573.

Workarounds

  • Restrict SAML authentication to trusted internal networks using firewall rules
  • Implement a reverse proxy or WAF rule to validate RelayState parameters against allowed domains
  • Configure Content Security Policy headers to restrict redirect targets
  • Educate users to verify URLs after SAML authentication and report suspicious redirects
bash
# Example nginx configuration to restrict SAML callback access
location /auth/login/saml/callback {
    # Allow only from trusted SAML IdP IP addresses
    allow 10.0.0.0/8;
    allow 192.168.1.0/24;
    deny all;
    
    proxy_pass http://directus_backend;
}

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechDirectus

  • SeverityMEDIUM

  • CVSS Score4.3

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

  • GitHub Security Advisory GHSA-3573
  • Related CVEs
  • CVE-2026-35408: Directus SSO Auth Bypass Vulnerability

  • CVE-2026-35412: Directus Auth Bypass Vulnerability

  • CVE-2026-35410: Directus Open Redirect Vulnerability

  • CVE-2026-39943: Directus Information Disclosure Flaw
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