# CVE-2026-54524: Frappe HR: SQL Injection in HRMS Salary Payments Based on Payment Mode Report

- Severity: High 7.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-02)
- Published: 2026-09-17T18:33:37.558Z
- Modified: 2026-09-30T17:51:56.193Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- frappe hrms: < 16.7.0

## References

- <https://github.com/frappe/hrms/security/advisories/GHSA-2gv7-x4h2-3737>
- <https://github.com/frappe/hrms/pull/4515>
- <https://github.com/frappe/hrms/commit/b16148531954531a448dafdff20dc61882430ee9>
- <https://github.com/frappe/hrms/releases/tag/v16.7.0>

## Sources

- CVE List: [CVE-2026-54524](https://www.cve.org/CVERecord?id=CVE-2026-54524), CVE Terms of Use, modified 2026-09-17
- NVD: [CVE-2026-54524](https://nvd.nist.gov/vuln/detail/CVE-2026-54524), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-54524 · Whole record: https://cve.day/CVE-2026-54524.json · Rebuilt by cve.day 2026-11-25T22:59:39.499Z
