# CVE-2026-40866

> Vulnerability.

## 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 upload endpoint allows any authenticated user to overwrite or replace or corrupt another employee’s document by changing the document ID in the upload request. This enables unauthorized modification of HR records.

## Key facts

- **CVE ID:** CVE-2026-40866
- **Published:** 2026-04-21
- **CWE codes:** CWE-284, CWE-639

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-40866

## Citation

> AI Analytics. CVE-2026-40866. Retrieved 2026-08-12 from https://api.ai-analytics.org/cve/CVE-2026-40866. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*