CVE-2026-12895CWE-89sql-injection

CVE-2026-12895

published July 29, 2026

CVSS
7.1
EPSS
0%
Percentile
29.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
7.1 · NONE
CVSS v4.0
Not supplied
EPSS
0.00366 · 29.2th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2026-07-29T15:16Z
References (1)
EPSS history
Timeline
  • 29 JUL 10:58Z
    SQL Injection in Frappe's ERPNext
    cvelistv5