Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
frappe hrms
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Frappe HR 是一个开源的人力资源管理解决方案(HRMS)。在 16.7.0 版本之前,拥有“HR User”角色的已认证用户可以在“基于支付方式的薪资支付”(Salary Payments Based on Payment Mode)报表的筛选条件中注入 SQL。具体而言,在 文件中, 函数基于用户可控的值构建筛选子句,而 函数将这些子句拼接进字符串格式的 SQL 查询中,从而导致攻击者能够提取任意数据库数据。该问题已在 16.7.0 版本中修复。

CVSS 7.1 · High

Affected Version Matrix 1

VendorProduct Version RangeStatus
frappe hrms < 16.7.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-54524

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Frappe HR: SQL Injection in HRMS Salary Payments Based on Payment Mode Report
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
frappe hrms < 16.7.0 -

II. Public POCs for CVE-2026-54524

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-54524

登录查看更多情报信息。

Patches & Fixes for CVE-2026-54524 (1)

Vendor Advisories for CVE-2026-54524 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-54524

No comments yet


Leave a comment