PoC Monitor
← All CVEs
CVE-2026-12895published 29 Jul 2026 10:58 UTCData: JSON · API

Frappe ERPNext

SQL Injection in Frappe's ERPNext

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.1high · scored by CNA · CWE-89
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Frappe ERPNext
  • < 15.111.0
  • < 16.22.0

Fixed in 15.111.0, 16.22.0

Mitigation

The vulnerability has been fixed by the Frappe team in versions 15.111.0 and 16.22.0.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published29 Jul 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.