NONE · 0

CVE-2026-12895

SQL injection in Frappe's ERPNext, versions ERPNext 15.107.0 and Frappe 15.107.2. The application constructs SQL queries through direct string interpolation using `str.format()` without employing para...

Vulnerability Description

SQL injection in Frappe's ERPNext, versions ERPNext 15.107.0 and Frappe 15.107.2. The application constructs SQL queries through direct string interpolation using `str.format()` without employing parameterized queries, allowing the name (docname) of a Supplier record containing SQL metacharacters to be interpreted as part of the query. Exploitation of this vulnerability could allow an authenticated user with low privileges to execute arbitrary SQL queries, bypass Frappe’s access restrictions (DocPerm), extract confidential information from the database—including fragments of the administrator’s password hash—and access other sensitive data, such as credentials, integration tokens, or financial information.

Related Weaknesses (CWE)

References

FAQ

What is CVE-2026-12895?

CVE-2026-12895 is a documented vulnerability. SQL injection in Frappe's ERPNext, versions ERPNext 15.107.0 and Frappe 15.107.2. The application constructs SQL queries through direct string interpolation using `str.format()` without employing para...

How severe is CVE-2026-12895?

CVSS scoring is not yet available for CVE-2026-12895. Check NVD for updates.

Is there a patch for CVE-2026-12895?

Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.