CVE-2026-24038: Horilla HR has 2FA Bypass through its OTP Handling Logic

Published Jan 22, 2026
·
Updated

Horilla is a free and open source Human Resource Management System (HRMS). In version 1.4.0, the OTP handling logic has a flawed equality check that can be bypassed. When an OTP expires, the server returns None, and if an attacker omits the otp field from their POST request, the user-supplied OTP is also None, causing the comparison userotp == otp to pass. This allows an attacker to bypass two-factor authentication entirely without ever providing a valid OTP. If administrative accounts are targeted, it could lead to compromise of sensitive HR data, manipulation of employee records, and further system-wide abuse. This issue has been fixed in version 1.5.0.

Affected Software

3 affected components
Horilla/HRMS
Horilla/HRMS<1.5.0
Horilla horilla=1.4.0

Event History

Jan 22, 2026
CVE Published
via MITRE·03:39 AM
Data Sourced
via MITRE·03:39 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 AM
DescriptionSeverityWeaknessAffected Software
Sep 6, 58098
Event
via FIRST·08:20 AM

Frequently Asked Questions

1

What is the severity of CVE-2026-24038?

CVE-2026-24038 is classified as a high severity vulnerability due to its potential for allowing unauthorized access.

2

How do I fix CVE-2026-24038?

To fix CVE-2026-24038, upgrade to Horilla HR version 1.5.0 or later where the OTP handling logic has been corrected.

3

What systems are affected by CVE-2026-24038?

CVE-2026-24038 affects Horilla HR version 1.4.0 and earlier versions.

4

Can CVE-2026-24038 be exploited remotely?

Yes, CVE-2026-24038 can be exploited remotely, allowing attackers to bypass two-factor authentication.

5

What impact does CVE-2026-24038 have on user accounts?

CVE-2026-24038 could potentially allow attackers to gain unauthorized access to user accounts by bypassing the two-factor authentication mechanism.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203