# CVE-2025-52044: In Frappe ERPNext v15.57.5, the function getstockbalance() at erpnext/stock/utils.py is vulnerable to SQL Injection, which allows an attack…

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A: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.39%, higher than 35% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-09-16T00:00:00.000Z
- Modified: 2026-11-07T18:10:00.200Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- frappe erpnext: 15.57.5

## References

- <https://github.com/Vietsunshine-Electronic-Solution-JSC/Vulnerability-Disclosures/blob/main/2025/Frappe%20Framework%20-%20Multiple%20SQL%20Injection.md> (exploit, third-party-advisory)
- <https://github.com/frappe/erpnext/pull/49192/commits/eb22794f14351c2ff5731548c48bef0b91765c86> (patch)

## Sources

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

---

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