🔐 CVE Alert

CVE-2026-12895

UNKNOWN 0.0

SQL Injection in Frappe's ERPNext

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-89
Vendor frappe
Product erpnext
Published Jul 29, 2026
Last Updated Jul 29, 2026
Stay Ahead of the Next One

Get instant alerts for frappe erpnext

Be the first to know when new unknown vulnerabilities affecting frappe erpnext are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

Affected Versions

Frappe / ERPNext
0 < 15.111.0 0 < 16.22.0

References

NVD ↗ CVE.org ↗ EPSS Data ↗
incibe.es: https://www.incibe.es/en/incibe-cert/notices/aviso/sql-injection-frappes-erpnext

Credits

Alejandro Ramos