CVE-2026-130794: Frappe HR (hrms) before 16.9.0 Missing Authorization via Roster get_events
Frappe HR (hrms) before 16.9.0 contains a missing authorization vulnerability in the hrms.api.roster.getevents method that allows authenticated employees to view other employees' leave and shift data by bypassing User Permissions. Attackers with the Employee role can call getevents with empty filters for any date range to retrieve every employee's approved leave applications and shift assignments, including leave types, dates, shift locations and times.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated user with the Employee role can exploit it. No user interaction is required, and the attacker can make network-accessible calls to the affected method.
What information could be exposed?
An attacker can retrieve approved leave applications and shift assignments for all employees. Exposed details include leave types and dates, as well as shift locations and times.
How is the authorization check bypassed?
The attacker calls hrms.api.roster.get_events with empty filters and selects a date range. This bypasses User Permissions and returns roster data beyond the attacker's authorized scope.
Which versions are affected?
Frappe HR (hrms) versions before 16.9.0 are affected. Updating to 16.9.0 or later addresses the issue.