CVE-2025-52041
Last modified
CVE-2025-52041 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. 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.. EPSS estimates a 0.32% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Frappe | Erpnext | 15.57.5 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-52041?
How severe is CVE-2025-52041?
How do I fix CVE-2025-52041?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-52035A vulnerability in NotesCMS and specifically in the page /in…6.1
- CVE-2025-52036A vulnerability has been found in NotesCMS and classified as…6.1
- CVE-2025-52037A vulnerability has been found in NotesCMS and classified as…6.1
- CVE-2025-52039In Frappe ERPNext 15.57.5, the function get_material_request…8.2
- CVE-2025-5204A vulnerability classified as problematic has been found in …7.8
- CVE-2025-52040In Frappe ERPNext 15.57.5, the function get_blanket_orders()…8.2
- CVE-2025-52042In Frappe ERPNext 15.57.5, the function get_rfq_containing_s…8.2
- CVE-2025-52043In Frappe ERPNext v15.57.5, the function import_coa() at erp…6.5
- CVE-2025-52044In Frappe ERPNext v15.57.5, the function get_stock_balance()…7.5
- CVE-2025-52046Totolink A3300R V17.0.0cu.596_B20250515 was found to contain…9.8
- CVE-2025-52047In Frappe ErpNext v15.57.5, the function get_income_account(…6.5
- CVE-2025-52048In Frappe 15.x.x before 15.72.0 and 14.x.x before 14.96.10, …6.5
Are you affected by CVE-2025-52041?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
