Skip to main content

Horilla HRMS CVE-2026-40865

| EUVDEUVD-2026-24231 HIGH
Improper Access Control (CWE-284)
2026-04-21 GitHub_M
7.1
CVSS 4.0 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

6
Re-analysis Queued
Apr 22, 2026 - 21:07 vuln.today
cvss_changed
Analysis Generated
Apr 21, 2026 - 19:47 vuln.today
CVSS changed
Apr 21, 2026 - 19:22 NVD
7.1 (HIGH)
EUVD ID Assigned
Apr 21, 2026 - 19:00 euvd
EUVD-2026-24231
Analysis Generated
Apr 21, 2026 - 19:00 vuln.today
CVE Published
Apr 21, 2026 - 18:14 nvd
HIGH 7.1

DescriptionGitHub Advisory

Horilla is a free and open source Human Resource Management System (HRMS). In 1.5.0, an insecure direct object reference in the employee document viewer allows any authenticated user to access other employees’ uploaded documents by changing the document ID in the request. This exposes sensitive HR files such as identity documents, contracts, certificates, and other private employee records.

AnalysisAI

Insecure direct object reference in Horilla HRMS 1.5.0 employee document viewer allows authenticated users to access other employees' sensitive HR files by manipulating document IDs in API requests. Successful exploitation exposes identity documents, employment contracts, certificates, and other confidential employee records. No public exploit code identified at time of analysis, with EPSS data unavailable for this 2026 CVE.

Technical ContextAI

This vulnerability affects Horilla HRMS, an open-source Human Resource Management System (cpe:2.3:a:horilla-opensource:horilla:*:*:*:*:*:*:*:*). The flaw stems from CWE-284 (Improper Access Control) in the document viewer component, specifically a classic Insecure Direct Object Reference (IDOR). The application fails to validate whether the authenticated user has authorization to view the requested document before serving it. When the document viewer constructs requests using sequential or predictable document IDs as URL parameters or POST data, an attacker can simply increment or modify these IDs to access documents belonging to other employees. This represents a broken access control mechanism where authentication alone is insufficient - the system verifies the user is logged in but not whether they own or should have access to the specific resource identified by the document ID.

RemediationAI

Upgrade to the patched version of Horilla HRMS specified in the GitHub Security Advisory at https://github.com/horilla/horilla-hr/security/advisories/GHSA-85cj-fwjh-fjv7. The exact fixed version number is not provided in current analysis data, so refer directly to the advisory for upgrade guidance. If immediate patching is not feasible, implement strict access controls at the web application firewall or reverse proxy layer to log and monitor document viewer requests for suspicious enumeration patterns (multiple requests with incrementing IDs from the same user session). Review application logs retrospectively for evidence of unauthorized document access by correlating document request IDs with user permissions. Consider temporarily restricting document viewer access to HR administrators only until patching is complete, though this significantly degrades functionality for legitimate users. For a proper application-level mitigation, implement server-side authorization checks that verify the authenticated user has explicit permission to access the requested document ID before serving the file - this requires code modification and should be treated as an interim measure pending official patch deployment.

CVE-2026-24038 HIGH POC
8.1 Jan 22

Horilla HRMS versions prior to 1.5.0 allow authenticated attackers to bypass two-factor authentication due to improper O

CVE-2026-24010 HIGH POC
8.0 Jan 22

Horilla versions up to 1.5.0 contains a vulnerability that allows attackers to deploy phishing attacks (CVSS 8.0).

CVE-2025-59525 HIGH POC
7.7 Sep 24

Horilla is a free and open source Human Resource Management System (HRMS). Rated high severity (CVSS 7.7), this vulnerab

CVE-2025-48868 HIGH POC
7.2 Sep 24

Horilla is a free and open source Human Resource Management System (HRMS). Rated high severity (CVSS 7.2), this vulnerab

CVE-2026-24034 MEDIUM POC
5.4 Jan 22

Horilla versions up to 1.5.0 is affected by unrestricted upload of file with dangerous type (CVSS 5.4).

CVE-2026-24036 MEDIUM POC
5.3 Jan 22

Horilla HRMS versions 1.4.0 and above allow unauthenticated access to unpublished job postings through the /recruitment/

CVE-2024-12138 MEDIUM POC
5.3 Dec 04

A vulnerability classified as critical was found in horilla up to 1.2.1. Rated medium severity (CVSS 5.3), this vulnerab

CVE-2025-48867 MEDIUM POC
4.8 Sep 24

Horilla is a free and open source Human Resource Management System (HRMS). Rated medium severity (CVSS 4.8), this vulner

CVE-2026-24037 MEDIUM POC
4.8 Jan 22

Horilla HRMS version 1.4.0 contains insufficient input validation in its XSS prevention function, allowing attackers to

CVE-2026-40866 HIGH
8.6 Apr 21

Authenticated users in Horilla HRMS 1.5.0 can overwrite or corrupt any employee's documents via insecure direct object r

CVE-2026-24035 MEDIUM POC
4.3 Jan 22

Horilla is a free and open source Human Resource Management System (HRMS). [CVSS 4.3 MEDIUM]

CVE-2026-24039 MEDIUM POC
4.3 Jan 22

Horilla HRMS 1.4.0 contains insufficient server-side authorization checks that permit low-privileged employees to self-a

Share

CVE-2026-40865 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy