{
  "id": "CVE-2026-24038",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-24038",
  "published_at": "2026-01-22T03:39:06.216Z",
  "title": "Horilla HR has 2FA Bypass through its OTP Handling Logic",
  "vendor": "horilla-opensource",
  "product": "horilla",
  "cvss": {
    "score": 8.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-287",
  "cpes": [
    "cpe:2.3:a:horilla:horilla:1.4.0:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "horilla-opensource",
        "product": "horilla",
        "ranges": [
          "\u003e= 1.4.0, \u003c 1.5.0"
        ],
        "fixed_in": [
          "1.5.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade horilla to 1.5.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/horilla-opensource/horilla/security/advisories/GHSA-hqpv-ff5v-3hwf"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/horilla-opensource/horilla/releases/tag/1.5.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
