{"id":"CVE-2026-24038","aliases":["CVE-2026-24038"],"related":[],"kind":"vulnerability","state":"published","title":"Horilla HR has 2FA Bypass through its OTP Handling Logic","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Horilla es un Sistema de Gestión de Recursos Humanos (HRMS) gratuito y de código abierto. En la versión 1.4.0, la lógica de manejo de OTP tiene una verificación de igualdad defectuosa que puede ser evitada. Cuando un OTP expira, el servidor devuelve None, y si un atacante omite el campo otp de su solicitud POST, el OTP proporcionado por el usuario también es None, haciendo que la comparación user_otp == otp se apruebe. Esto permite a un atacante evitar completamente la autenticación de dos factores sin proporcionar nunca un OTP válido. Si se dirigen a cuentas de administración, podría llevar al compromiso de datos sensibles de RRHH, manipulación de registros de empleados y a un abuso adicional en todo el sistema. Este problema ha sido solucionado en la versión 1.5.0.","source":"nvd"}],"published":"2026-01-22T03:39:06.216Z","modified":"2026-06-17T10:22:30.190Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"}],"cwes":["CWE-287"],"affected":[{"ranges":[{"version":">= 1.4.0, < 1.5.0","status":"affected"}],"vendor":"horilla-opensource","product":"horilla","source":"cvelist"},{"ranges":[{"status":"affected","version":"1.4.0"}],"vendor":"horilla","product":"horilla","cpe":"cpe:2.3:a:horilla:horilla:1.4.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/horilla-opensource/horilla/security/advisories/GHSA-hqpv-ff5v-3hwf","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/horilla-opensource/horilla/releases/tag/1.5.0","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-01-22T12:33:17.546Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-24038","url":"https://www.cve.org/CVERecord?id=CVE-2026-24038","licence":"CVE Terms of Use","modified":"2026-01-22T12:33:39.694Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-24038","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24038","licence":"Public domain","modified":"2026-06-17T10:22:30.190Z"}],"updatedAt":"2026-11-25T22:59:13.046Z","epss":{"score":0.00482,"percentile":0.43179,"date":"2026-12-01T12:00:22.000Z"}}