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

CVE-2026-40683: OpenStack Keystone Auth Bypass Vulnerability

CVE-2026-40683 is an authentication bypass flaw in OpenStack Keystone that allows disabled LDAP users to authenticate due to improper boolean conversion. This article covers technical details, affected versions, and mitigation.

Published: April 17, 2026

CVE-2026-40683 Overview

A type confusion vulnerability exists in OpenStack Keystone before version 28.0.1 that affects deployments using the LDAP identity backend. The vulnerability stems from improper handling of the user enabled attribute, where the LDAP backend fails to convert string values to boolean when the user_enabled_invert configuration option is set to its default value of False. This flaw allows disabled LDAP users to authenticate and perform actions within the OpenStack environment as if they were enabled.

Critical Impact

Disabled users in LDAP directories can bypass authentication controls and gain unauthorized access to OpenStack services, potentially compromising cloud infrastructure security and data integrity.

Affected Products

  • OpenStack Keystone versions prior to 28.0.1
  • Deployments using LDAP identity backend without user_enabled_invert=True
  • Deployments not using user_enabled_emulation

Discovery Timeline

  • April 14, 2026 - CVE-2026-40683 published to NVD
  • April 14, 2026 - Last updated in NVD database

Technical Details for CVE-2026-40683

Vulnerability Analysis

This vulnerability is classified as CWE-843 (Access of Resource Using Incompatible Type, also known as Type Confusion). The flaw exists in the _ldap_res_to_model method within the UserApi class of Keystone's LDAP identity backend.

When Keystone queries LDAP for user information, the enabled status of a user is returned as a string value (e.g., "TRUE" or "FALSE"). The code was designed to convert this string to a Python boolean, but the conversion logic was only triggered when the user_enabled_invert configuration option was set to True. When this option is False (the default configuration), the raw string value from LDAP is used directly without conversion.

In Python, any non-empty string is evaluated as truthy in boolean contexts. This means that the string "FALSE" returned by LDAP for disabled users would be treated as a truthy value by Keystone, effectively marking those users as enabled.

Root Cause

The root cause is incomplete conditional logic in the _ldap_res_to_model method. The string-to-boolean conversion for the user enabled attribute was only performed inside a conditional block that checked if user_enabled_invert was True. When the condition was False, the code path that performed the conversion was never executed, leaving the raw LDAP string value in place.

This represents a classic type confusion issue where the expected data type (boolean) differs from the actual data type being processed (string), leading to incorrect security decisions.

Attack Vector

An attacker who has been disabled in the organization's LDAP directory can exploit this vulnerability through the following scenario:

  1. The attacker previously had valid credentials in the LDAP directory
  2. The administrator disables the user account in LDAP by setting the enabled attribute to "FALSE"
  3. The attacker attempts to authenticate to Keystone using their credentials
  4. Keystone queries LDAP and receives the enabled attribute as the string "FALSE"
  5. Due to the type confusion bug, Keystone treats "FALSE" as truthy (since it's a non-empty string)
  6. The attacker is granted access despite being disabled in LDAP

This vulnerability requires network access and valid (though disabled) LDAP credentials. The impact can extend beyond the immediate Keystone service to affect scope of other OpenStack services that rely on Keystone for authentication.

Detection Methods for CVE-2026-40683

Indicators of Compromise

  • Authentication events from user accounts that have been disabled in LDAP
  • Successful Keystone token issuance for users marked as disabled in the LDAP directory
  • Unexpected API activity from accounts that should be deactivated
  • Audit log discrepancies between LDAP user status and Keystone authentication records

Detection Strategies

  • Compare Keystone authentication logs with LDAP directory user status to identify disabled users who successfully authenticated
  • Monitor for authentication events from users whose employment or access has been terminated
  • Implement correlation rules between LDAP directory changes and subsequent authentication attempts
  • Review Keystone configuration files for user_enabled_invert and user_enabled_emulation settings

Monitoring Recommendations

  • Enable verbose logging for Keystone authentication events
  • Implement automated comparison between LDAP user status and Keystone token issuance
  • Set up alerts for authentication attempts from recently disabled accounts
  • Deploy behavioral analytics to detect anomalous access patterns from accounts that should be inactive

How to Mitigate CVE-2026-40683

Immediate Actions Required

  • Upgrade OpenStack Keystone to version 28.0.1 or later
  • If immediate upgrade is not possible, enable user_enabled_invert=True or user_enabled_emulation as a temporary workaround
  • Audit all recent authentication events to identify potential exploitation
  • Review and revoke any active tokens for users who should be disabled

Patch Information

The fix is available in OpenStack Keystone version 28.0.1. The patch ensures that the user enabled attribute is properly converted from string to boolean regardless of the user_enabled_invert configuration setting. For technical details on the fix, see the OpenDev Review #958205. Additional information is available in Launchpad Bug #2121152 and Launchpad Bug #2141713.

Workarounds

  • Set user_enabled_invert=True in the Keystone configuration to enable the string-to-boolean conversion logic
  • Enable user_enabled_emulation to use an alternative method for tracking user enabled status
  • Implement additional authentication controls at the network layer to restrict access from disabled users
  • Consider using a different identity backend until the patch can be applied
bash
# Configuration workaround in keystone.conf
[ldap]
# Enable user_enabled_invert to force string-to-boolean conversion
user_enabled_invert = True

# Alternative: Enable user_enabled_emulation
# user_enabled_emulation = True
# user_enabled_emulation_dn = cn=enabled_users,dc=example,dc=com

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechOpenstack

  • SeverityHIGH

  • CVSS Score7.7

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-843
  • Technical References
  • Launchpad Bug #2121152

  • Launchpad Bug #2141713

  • OpenDev Review #958205

  • Openwall OSS-Security Post
  • Related CVEs
  • CVE-2026-42997: OpenStack Ironic Auth Bypass Vulnerability

  • CVE-2026-43001: OpenStack Keystone Auth Bypass Vulnerability

  • CVE-2025-65073: OpenStack Keystone Auth Bypass Flaw

  • CVE-2026-33551: OpenStack Keystone 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