{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-40866","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-04-15T15:57:41.718Z","datePublished":"2026-04-21T18:15:30.126Z","dateUpdated":"2026-04-21T19:29:21.663Z"},"containers":{"cna":{"title":"Horilla: Unauthorized Document Overwrite via File Upload Endpoint","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":"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"}}],"references":[{"name":"https://github.com/horilla/horilla-hr/security/advisories/GHSA-q2qh-v828-r4p7","tags":["x_refsource_CONFIRM"],"url":"https://github.com/horilla/horilla-hr/security/advisories/GHSA-q2qh-v828-r4p7"}],"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:15:30.126Z"},"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."}],"source":{"advisory":"GHSA-q2qh-v828-r4p7","discovery":"UNKNOWN"}},"adp":[{"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"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-04-21T19:29:21.663Z"}}]}}