What’s Vulnerable › Vulnerabilities
CVE-2026-54524: Frappe HR: SQL Injection in HRMS Salary Payments Based on Payment Mode Report
- Severity: high (CVSS 7.1 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-17 · updated 2026-09-30
- Weakness: CWE-89
Description
Frappe HR is an open-source human resources management solution (HRMS). Prior to 16.7.0, an authenticated user with the HR User role can inject SQL through filters in the Salary Payments Based on Payment Mode report. In hrms/payroll/report/salary_payments_based_on_payment_mode/salary_payments_based_on_payment_mode.py, get_conditions constructs filter clauses from user-controlled values and get_data incorporates those clauses into a string-formatted SQL query, allowing extraction of arbitrary database data. This issue is fixed in 16.7.0.
Affected products
- frappe hrms: before 16.7.0
References
- https://github.com/frappe/hrms/commit/b16148531954531a448dafdff20dc61882430ee9
- https://github.com/frappe/hrms/pull/4515
- https://github.com/frappe/hrms/releases/tag/v16.7.0
- https://github.com/frappe/hrms/security/advisories/GHSA-2gv7-x4h2-3737
Get alerted when CVE-2026-54524 or the next vulnerability affects your stack