{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-40865","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-04-15T15:57:41.718Z","datePublished":"2026-04-21T18:14:19.523Z","dateUpdated":"2026-04-21T18:45:50.143Z"},"containers":{"cna":{"title":"Horilla: Insecure Direct Object Reference at `/employee/view-file/<int:id>","problemTypes":[{"descriptions":[{"cweId":"CWE-284","lang":"en","description":"CWE-284: Improper Access Control","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-639","lang":"en","description":"CWE-639: Authorization Bypass Through User-Controlled Key","type":"CWE"}]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.1,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"references":[{"name":"https://github.com/horilla/horilla-hr/security/advisories/GHSA-85cj-fwjh-fjv7","tags":["x_refsource_CONFIRM"],"url":"https://github.com/horilla/horilla-hr/security/advisories/GHSA-85cj-fwjh-fjv7"}],"affected":[{"vendor":"horilla-opensource","product":"horilla","versions":[{"version":"1.5.0","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-04-21T18:14:19.523Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-85cj-fwjh-fjv7","discovery":"UNKNOWN"}},"adp":[{"references":[{"url":"https://github.com/horilla/horilla-hr/security/advisories/GHSA-85cj-fwjh-fjv7","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-21T18:45:44.870751Z","id":"CVE-2026-40865","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-04-21T18:45:50.143Z"}}]}}