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

High 7.1 Published Updated

An authenticated HR user can inject SQL via report filters to extract arbitrary database data from the Frappe HRMS application.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-54524?

CVE-2026-54524 is a high-severity SQL injection vulnerability in frappe hrms, published on 17 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-89

Which versions are affected by CVE-2026-54524?

How do I fix CVE-2026-54524?

No fix has been published for CVE-2026-54524 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-54524 being exploited?

There is no known exploitation of CVE-2026-54524 in the wild and no public exploit code.

Sources

Also known as GHSA-2gv7-x4h2-3737.

Is CVE-2026-54524 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free