CVE-2025-52041

published 1 Oct 2025 · updated 5 Nov 2026

In Frappe ERPNext 15.57.5, the function get_stock_balance_for() at erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py is…

9.2CriticalCVSS 8.2EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
frappeerpnext=15.57.5

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-52041 severity on Zeptric[![CVE-2025-52041](https://zeptric.io/badge/cve/CVE-2025-52041.svg)](https://zeptric.io/cve/CVE-2025-52041)