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
    • 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-24038

CVE-2026-24038: Horilla HRMS Auth Bypass Vulnerability

CVE-2026-24038 is an authentication bypass flaw in Horilla HRMS that allows attackers to bypass two-factor authentication by exploiting flawed OTP validation logic. This article covers technical details, affected versions, and mitigation.

Published: January 23, 2026

CVE-2026-24038 Overview

CVE-2026-24038 is an authentication bypass vulnerability in Horilla, a free and open source Human Resource Management System (HRMS). The vulnerability exists in version 1.4.0 where the OTP (One-Time Password) handling logic contains a flawed equality check that can be exploited to bypass two-factor authentication entirely without providing a valid OTP.

Critical Impact

Attackers can bypass two-factor authentication to gain unauthorized access to HR systems, potentially compromising sensitive employee data, manipulating records, and enabling system-wide abuse. Administrative account compromise poses the highest risk.

Affected Products

  • Horilla HRMS version 1.4.0

Discovery Timeline

  • 2026-01-22 - CVE CVE-2026-24038 published to NVD
  • 2026-01-22 - Last updated in NVD database

Technical Details for CVE-2026-24038

Vulnerability Analysis

This vulnerability is classified under CWE-287 (Improper Authentication) and represents a critical flaw in how Horilla handles OTP verification during the authentication process. The root cause lies in a flawed equality comparison that fails to properly validate OTP presence and expiration states.

When an OTP expires on the server, the system returns None as the stored OTP value. The vulnerability arises because if an attacker crafts a POST request that omits the otp field entirely, the user-supplied OTP value also evaluates to None. When the comparison user_otp == otp is executed, both values are None, causing the check to pass and the authentication to succeed without any valid OTP being provided.

This authentication bypass is particularly dangerous because it completely negates the security benefits of two-factor authentication. Attackers who have obtained or compromised a user's primary credentials (username and password) can then bypass the second authentication factor by simply waiting for any existing OTP to expire and submitting a login request without the OTP field.

Root Cause

The root cause is improper input validation and flawed logic in the OTP verification mechanism. The application fails to:

  1. Explicitly check whether an OTP was provided in the request
  2. Distinguish between an expired OTP (None) and a missing OTP field (also None)
  3. Implement proper null/undefined handling before performing the equality comparison

The vulnerable code path allows the authentication flow to proceed when both the server-side OTP (expired) and client-side OTP (omitted) resolve to the same falsy value.

Attack Vector

The attack is network-based and requires low privileges—specifically, valid primary credentials (username and password) for the target account. The attacker must:

  1. Obtain valid primary credentials for a target account through phishing, credential stuffing, or other means
  2. Initiate a login request with valid credentials to trigger OTP generation
  3. Wait for the OTP to expire on the server (causing the stored value to become None)
  4. Submit a subsequent authentication request without including the otp field in the POST body
  5. The comparison None == None evaluates to True, granting access

The attack mechanism exploits the implicit type coercion and the failure to explicitly validate OTP presence. By omitting the OTP parameter entirely from the request body rather than sending an empty or invalid value, the attacker ensures that the user-supplied value resolves to None, matching the expired server-side OTP.

Detection Methods for CVE-2026-24038

Indicators of Compromise

  • Authentication success events where the OTP field is absent or null in the request logs
  • Login patterns showing successful 2FA bypasses after initial OTP generation requests
  • Multiple authentication attempts from the same source with delayed timing between initial login and 2FA completion

Detection Strategies

  • Monitor authentication logs for successful logins where the OTP parameter is missing from the request payload
  • Implement alerting on authentication requests that succeed without all expected 2FA fields present
  • Analyze web application firewall (WAF) logs for POST requests to authentication endpoints lacking the otp field
  • Review application logs for patterns indicating OTP expiration followed by successful authentication

Monitoring Recommendations

  • Enable detailed logging for all authentication-related endpoints including the full request payload structure
  • Configure SIEM rules to correlate OTP generation events with subsequent authentication success events
  • Implement anomaly detection for authentication patterns that deviate from expected 2FA workflows
  • Monitor for bulk authentication attempts that may indicate exploitation at scale

How to Mitigate CVE-2026-24038

Immediate Actions Required

  • Upgrade Horilla HRMS to version 1.5.0 or later immediately
  • Review authentication logs for any evidence of exploitation prior to patching
  • Force password resets for any accounts showing suspicious authentication patterns
  • Temporarily disable or increase scrutiny on accounts with elevated privileges until patching is complete

Patch Information

The vulnerability has been fixed in Horilla HRMS version 1.5.0. Organizations should upgrade to this version or later to remediate the vulnerability. The patch information is available through the GitHub Release 1.5.0. Additional details about the vulnerability are documented in the GitHub Security Advisory GHSA-hqpv-ff5v-3hwf.

Workarounds

  • Implement network-level access controls to restrict authentication endpoints to trusted IP ranges
  • Deploy a web application firewall (WAF) rule to reject authentication requests that lack the required otp field
  • Enable additional logging and monitoring on authentication endpoints to detect exploitation attempts
  • Consider implementing IP-based rate limiting on authentication endpoints to slow potential attacks
bash
# Example WAF rule concept for blocking requests without OTP field
# This is a conceptual example - actual implementation depends on your WAF solution
# Block POST requests to login endpoint that lack 'otp' parameter
# Consult your WAF documentation for proper syntax and configuration

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechHorilla

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.07%

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

  • GitHub Security Advisory GHSA-hqpv-ff5v-3hwf
  • Related CVEs
  • CVE-2026-3049: Horilla Open Redirect Vulnerability

  • CVE-2026-24039: Horilla HRMS Auth Bypass Vulnerability

  • CVE-2026-24035: Horilla HRMS Auth Bypass Vulnerability

  • CVE-2026-3050: Horilla Horilla XSS Vulnerability
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