SQL Injection in Frappe Erpnext
CVE-2025-52044
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.004 · 34.0th percentile
- Published
- 2025-09-16
In Frappe ERPNext v15.57.5, the function get_stock_balance() at erpnext/stock/utils.py is vulnerable to SQL Injection, which allows an attacker to extract all information from databases by injecting SQL query into inventory_dimensions_dict parameter.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- None
I:N - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.004, 34.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Frappe Erpnext — versions 15.57.5
Weakness classification (CWE)
References
- github.com/Vietsunshine-Electronic-Solution-JSC/Vulnerability-Disclosures/blob/… (Exploit, Third Party Advisory)
- github.com/frappe/erpnext/pull/49192/commits/eb22794f14351c2ff5731548c48bef0b91… (Patch)