Skip to main content
VulnerabilityPublished

CVE-2025-52043: Frappe ERPNext · SQL Injection

Source CVE Database V5

0

Not known to be exploited · CVSS 6.5 Medium.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

AI-suggested

European organizations using ERPNext v15.57.5 should immediately audit their systems to identify vulnerable instances. Since no official patches are available at the time of this report, organizations should implement the following specific mitigations: 1) Restrict network access to the ERPNext application, limiting it to trusted internal IP addresses and VPN users only. 2) Employ Web Application Firewalls (WAFs) with custom rules to detect and block SQL injection patterns targeting the 'company' parameter in the import_coa() function. 3) Conduct manual code review and apply temporary input validation and parameterized queries in the affected function if possible, to sanitize inputs before database interaction. 4) Monitor application logs for unusual query patterns or error messages indicative of injection attempts. 5) Educate development and operations teams about the vulnerability to ensure rapid response once patches are released. 6) Plan and prioritize upgrading to a patched version of ERPNext as soon as it becomes available. 7) Implement database-level access controls and encryption to limit data exposure in case of exploitation.

Description

In Frappe ERPNext v15.57.5, the function import_coa() at erpnext/accounts/doctype/chart_of_accounts_importer/chart_of_accounts_importer.py is vulnerable to SQL injection, which allows an attacker to extract all information from databases by injecting a SQL query into the company parameter.

References

Community reviews

Loading reviews…