CVE-2025-52041: SQL Injection

Published Oct 1, 2025
·
Updated

In Frappe ERPNext 15.57.5, the function getstockbalancefor() at erpnext/stock/doctype/stockreconciliation/stockreconciliation.py is vulnerable to SQL Injection, which allows an attacker to extract all information from databases by injecting a SQL query into the inventorydimensionsdict parameter.

Affected Software

2 affected components
Frappe ERPNext
Frappe ERPNext=15.57.5

Event History

Oct 1, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via OSV·12:00 AM
DescriptionSeverity
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-52041?

CVE-2025-52041 is considered a critical vulnerability due to its potential for SQL Injection, which can lead to unauthorized database access.

2

How do I fix CVE-2025-52041?

To fix CVE-2025-52041, it is recommended to update Frappe ERPNext to the latest version where the SQL Injection vulnerability has been patched.

3

What type of attack does CVE-2025-52041 facilitate?

CVE-2025-52041 facilitates SQL Injection attacks that allow attackers to extract sensitive information from the database.

4

Which versions of Frappe ERPNext are affected by CVE-2025-52041?

Frappe ERPNext version 15.57.5 is specifically affected by CVE-2025-52041.

5

Where can I find more information about CVE-2025-52041?

More information about CVE-2025-52041 can typically be found in vulnerability disclosure documents and security advisories related to Frappe ERPNext.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203