CVE-2025-52040

published 1 Oct 2025 · updated 5 Nov 2026

In Frappe ERPNext 15.57.5, the function get_blanket_orders() at erpnext/controllers/queries.py is vulnerable to SQL Injection, which allows…

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_blanket_orders() at erpnext/controllers/queries.py is vulnerable to SQL Injection, which allows an attacker can extract all information from databases by injecting a SQL query into the blanket_order_type 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-52040 severity on Zeptric[![CVE-2025-52040](https://zeptric.io/badge/cve/CVE-2025-52040.svg)](https://zeptric.io/cve/CVE-2025-52040)