SB2026073010 - Multiple vulnerabilities in ERPNext
Published: July 30, 2026 Updated: August 14, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 5 vulnerabilities.
1) SQL injection (CVE-ID: CVE-2026-12895)
CWE-ID: CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.
The vulnerability exists due to insufficient sanitization of user-supplied data within the names of a few records. A remote user can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.
Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.
2) Improper Neutralization of Special Elements Used in a Template Engine (CVE-ID: CVE-2026-65974)
CWE-ID: CWE-1336 - Improper Neutralization of Special Elements Used in a Template Engine
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to execute arbitrary code on the server.
The vulnerability exists due to improper neutralization of special elements used in a template engine in the template engine when processing crafted template input through a permission boundary bypass. A remote user can inject a crafted template payload to execute arbitrary code on the server.
The issue can be exploited by an authenticated user with limited privileges.
3) Missing Authorization (CVE-ID: CVE-2026-72906)
CWE-ID: CWE-862 - Missing Authorization
CVSSv4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to trigger automated emails beyond their permitted role.
The vulnerability exists due to missing authorization in a certain endpoint when handling requests. A remote user can send a request to trigger automated emails beyond their permitted role.
4) Missing Authorization (CVE-ID: N/A)
CWE-ID: CWE-862 - Missing Authorization
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to escalate privileges.
The vulnerability exists due to missing authorization in a record-creation endpoint when handling record creation requests that take the record type from user-supplied input and insert records with permission checks disabled. A remote user can send a specially crafted request to escalate privileges.
This can allow creation of privileged accounts and lead to full control of the site.
5) Missing Authorization (CVE-ID: N/A)
CWE-ID: CWE-862 - Missing Authorization
CVSSv4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to disclose sensitive information.
The vulnerability exists due to missing authorization in certain endpoints when handling requests. A remote user can send crafted requests to disclose sensitive information.
Exploitation allows access to project data beyond the user's permitted role.
Remediation
Install update from vendor's website.
References
- https://github.com/frappe/erpnext/security/advisories/GHSA-qjpp-v2gq-hc8r
- https://github.com/frappe/erpnext/security/advisories/GHSA-w996-r7v3-87wr
- https://github.com/frappe/erpnext/security/advisories/GHSA-3x6c-gc4v-f5v8
- https://github.com/frappe/erpnext/security/advisories/GHSA-x635-wr4c-7345
- https://github.com/frappe/erpnext/security/advisories/GHSA-q3vp-8w4j-x78w