CVE-2025-56381 SQL injection in n/a
Attackers can execute arbitrary SQL commands via the reportview API endpoint, potentially reading or modifying database contents.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-56381?
CVE-2025-56381 is a medium-severity SQL injection vulnerability in Frappe Erpnext, published on 2 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
ERPNEXT v15.67.0 was discovered to contain multiple SQL injection vulnerabilities in the /api/method/frappe.desk.reportview.get endpoint via the order_by and group_by parameters.
Weakness: CWE-89
Which versions are affected by CVE-2025-56381?
It affects 2 products.
Products include Frappe Erpnext, Frappe Frappe.
How do I fix CVE-2025-56381?
No fix has been published for CVE-2025-56381 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2025-56381 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-56381 exists.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Frappe Erpnext
Sources
Also known as GHSA-899m-3xff-2xg9.