CVE-2026-24038CWE-287

Horilla HR has 2FA Bypass through its OTP Handling Logic

High · published January 22, 2026

CVSS v3.1
8.1
EPSS
0%
Percentile
40.6
In the wild
Unconfirmed
What it is

⚡ A sneaky equality check lets attackers slip through the cracks! With an expired OTP returning None, malicious POST requests can bypass two-factor authentication like a magician making a rabbit disappear. 🎩✨ Think of it like a hotel security system where the front desk checks for a keycard. If the card expires but the system still accepts a missing card as valid, anyone could waltz right in without proper clearance! This loophole allows attackers to completely bypass two-factor authentication, potentially compromising sensitive HR data and manipulating employee records. If administrative accounts are targeted, it could lead to devastating system-wide abuse, making this a serious threat! 🔥

Put simply

Think of it like a hotel security system where the front desk checks for a keycard. If the card expires but the system still accepts a missing card as valid, anyone could waltz right in without proper clearance! CVE-2026-24038 involves a flawed equality check in Horilla's OTP handling logic, allowing a null user-supplied OTP to pass as valid when an attacker omits the OTP field from their request.

What to do

This loophole allows attackers to completely bypass two-factor authentication, potentially compromising sensitive HR data and manipulating employee records. If administrative accounts are targeted, it could lead to devastating system-wide abuse, making this a serious threat! 🔥 Update to Horilla version 1.5.0 immediately to patch this vulnerability. Additionally, review and strengthen your OTP verification logic to prevent similar bypasses in the future. Don’t forget to educate users about the importance of recognizing and reporting suspicious activity! You've got this! Follow these steps, and you'll be one step closer to securing your HRMS. 🛡️

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00482 · 40.6th percentile
Weakness
CWE-287 · Improper Authentication
Published
2026-01-22T03:39Z
EPSS history
Timeline
  • 22 JAN 03:39Z
    Horilla HR has 2FA Bypass through its OTP Handling Logic
    cvelistv5