# CVE-2026-40865: Horilla: Insecure Direct Object Reference at `/employee/view-file/<int:id>

- Severity: High 7.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-21T18:14:19.523Z
- Modified: 2026-10-25T23:10:00.167Z
- Weaknesses: CWE-284, CWE-639
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- horilla-opensource horilla: 1.5.0

## References

- <https://github.com/horilla/horilla-hr/security/advisories/GHSA-85cj-fwjh-fjv7> (exploit)

## Sources

- CVE List: [CVE-2026-40865](https://www.cve.org/CVERecord?id=CVE-2026-40865), CVE Terms of Use, modified 2026-04-21
- NVD: [CVE-2026-40865](https://nvd.nist.gov/vuln/detail/CVE-2026-40865), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-40865 · Whole record: https://cve.day/CVE-2026-40865.json · Rebuilt by cve.day 2026-11-25T22:59:19.131Z
