{"id":"CVE-2026-40866","state":"PUBLISHED","title":"Horilla: Unauthorized Document Overwrite via File Upload Endpoint","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.","publishedAt":"2026-04-21T18:15:30.126Z","updatedAt":"2026-04-21T19:29:21.663Z","severity":{"score":8.6,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["horilla-opensource horilla"],"affected":[{"vendor":"horilla-opensource","product":"horilla","versions":[{"version":"1.5.0","status":"affected"}]}],"references":["https://github.com/horilla/horilla-hr/security/advisories/GHSA-q2qh-v828-r4p7"],"weaknesses":["CWE-284","CWE-639"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/40xxx/CVE-2026-40866.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-40866","state":"PUBLISHED","datePublished":"2026-04-21T18:15:30.126Z","dateUpdated":"2026-04-21T19:29:21.663Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-15T15:57:41.718Z"},"containers":{"cna":{"title":"Horilla: Unauthorized Document Overwrite via File Upload Endpoint","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 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."}],"affected":[{"vendor":"horilla-opensource","product":"horilla","versions":[{"version":"1.5.0","status":"affected"}]}],"references":[{"url":"https://github.com/horilla/horilla-hr/security/advisories/GHSA-q2qh-v828-r4p7","name":"https://github.com/horilla/horilla-hr/security/advisories/GHSA-q2qh-v828-r4p7","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.6,"baseSeverity":"HIGH","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"}}],"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"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-21T18:15:30.126Z"},"source":{"advisory":"GHSA-q2qh-v828-r4p7","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/horilla/horilla-hr/security/advisories/GHSA-q2qh-v828-r4p7","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-21T19:28:57.107763Z","id":"CVE-2026-40866","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-21T19:29:21.663Z"}}]}}}