CVE-2025-52041: Frappe Erpnext
High severity, CVSS 8.2. EPSS: 0.3% chance of exploitation in the next 30 days.
In Frappe ERPNext 15.57.5, the function get_stock_balance_for() at erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py is vulnerable to SQL Injection, which allows an attacker to extract all information from databases by injecting a SQL query into the inventory_dimensions_dict parameter.
Affected products
- Frappe Erpnext: version 15.57.5 only
Published 2025-10-01. Last modified 2026-06-17.