What’s Vulnerable › Vulnerabilities
CVE-2026-24038: Horilla HR has 2FA Bypass through its OTP Handling Logic
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-01-22 · updated 2026-06-17
- Weakness: CWE-287
Description
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 user_otp == 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 products
- horilla-opensource horilla: 1.4.0
References
- https://github.com/horilla-opensource/horilla/releases/tag/1.5.0
- https://github.com/horilla-opensource/horilla/security/advisories/GHSA-hqpv-ff5v-3hwf
Get alerted when CVE-2026-24038 or the next vulnerability affects your stack