GHSA-x635-wr4c-7345 GHSA-6w83-8777-v93q GHSA-8pr6-r75h-h8xx GHSA-rg9g-c26v-cw27 CVE-2026-66001 GHSA-c496-q7g2-62vv CVE-2026-65822 CVE-2026-62315 CVE-2026-66002 CVE-2026-63654
Frappe/ERPNext Week 33 2026 advisories: privilege escalation, SSTI, SQL injection and stored XSS
Frappe's week 33 advisories cover ten Frappe and ERPNext flaws, including privileged account creation, server-side template injection, stored XSS, SQL injection and OAuth abuse. Low-privilege users can take over sites. Apply the listed fixes; two flaws remain unfixed.
What happened
Frappe's Week 33 2026 advisory bundle covers ten flaws in ERPNext and the Frappe framework. The most severe, GHSA-x635-wr4c-7345, lets any authenticated user create records with permission checks disabled and thereby create privileged accounts and take over the site. GHSA-6w83-8777-v93q is server-side template injection; an authenticated user with a common operational role can read and write database records, delete documents, make outbound requests and send mail as the site.
Two stored cross-site scripting flaws, GHSA-8pr6-r75h-h8xx and GHSA-rg9g-c26v-cw27, allow account takeover by running script in a privileged user's browser. CVE-2026-66001 mishandles the OAuth2 consent flow so a user can be induced to approve a grant or reuse state for the wrong client. CVE-2026-65822 is SQL injection in the Inactive Customers report, GHSA-c496-q7g2-62vv allows record modification beyond the user's role, and CVE-2026-66002 permits user enumeration through a public form.
CVE-2026-62315 is mass assignment via set_value, and CVE-2026-63654 is a workflow-approval action submitted with a safe HTTP method. Neither has a released fixed version. None of the flaws are listed in CISA's Known Exploited Vulnerabilities catalogue, and the advisories do not report exploitation in the wild.
Who is affected
Affected products are ERPNext and the Frappe framework. ERPNext 15.x and 16.x builds are affected before the per-flaw fixed releases listed with this advisory; the individual fixed releases extend to 15.119.1 for the 15.x line and 16.32.0 for the 16.x line. Frappe framework versions are affected before 15.114.0 or 16.26.0 for the OAuth consent flaw, before 15.115.0 or 16.27.0 for user enumeration, and up to and including 16.31.0 for the mass-assignment and workflow-approval flaws.
What to do now
- Upgrade ERPNext to the fixed releases named for your branch: 15.119.1 for 15.x and 16.32.0 for 16.x cover the fixed ERPNext flaws.
- Upgrade the Frappe framework to 15.115.0 or 16.27.0 for the fixed framework flaws. CVE-2026-62315 and CVE-2026-63654 have no released fixed version.
- Treat the unfixed flaws with containment: restrict access to the client and workflow endpoints, monitor for unexpected record or workflow changes, and watch for vendor guidance.
- No vendor workaround is available for any of these flaws; upgrading is required where fixes exist.
How to detect it
Frappe has not published specific indicators of compromise for this bundle. Review logs for automated submissions to the personal data download request form (CVE-2026-66002), workflow approvals requested with safe HTTP methods such as GET (CVE-2026-63654), and Inactive Customers report queries containing unexpected doctype values (CVE-2026-65822).
Beyond the patch
This bundle shows why patching alone is not enough: low-privilege authenticated users, OAuth consent flows and portal pages are all viable paths to privilege escalation or account takeover. Managed Detection & Response (MDR) can catch the privilege escalation and record changes that follow; Implementation & Assessment Services can test an ERPNext or Frappe deployment and its exposed interfaces; and Supply Chain Defense & Third-Party Risk helps track how quickly vendors like Frappe ship fixes, because that timing defines your exposure window.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| GHSA-x635-wr4c-7345 ERPNext | – < 15.111.0 – < 16.22.0 | 15.111.0 16.22.0 0, 16.22.0 |
| GHSA-6w83-8777-v93q ERPNext | – < 15.119.1 – < 16.32.0 | 15.119.1 16.32.0 1, 16.32.0 |
| GHSA-8pr6-r75h-h8xx ERPNext | – < 15.119.0 – < 16.31.0 | 15.119.0 16.31.0 0, 16.31.0 |
| GHSA-rg9g-c26v-cw27 ERPNext | – < 15.113.0 – < 16.24.0 | 15.113.0 16.24.0 0, 16.24.0 |
| CVE-2026-66001 frappe | < 15.114.0 >= 16.0.0-beta.1, < 16.26.0 | .0, 16.26.0 |
| GHSA-c496-q7g2-62vv ERPNext | – < 16.22.0 | 16.22.0 16.22.0 |
| CVE-2026-65822 erpnext | < 15.116.0 >= 16.0.0, < 16.23.0 | 0, 16.23.0 |
| CVE-2026-62315, CVE-2026-63654 frappe | <= 16.31.0 | No fixed version listed yet |
| CVE-2026-66002 frappe | < 15.115.0 >= 16.0.0-beta.1, < 16.27.0 | .0, 16.27.0 |
References
Vendor advisory
- Privilege escalation via unauthorised record creation
- Possibility of server-side template injection due to missing validation
- Account takeover via stored cross-site scripting
- Account takeover via stored cross-site scripting
- Improper Authorization in OAuth2 Consent Endpoint
- Unauthorised modification of records due to missing validation
- Possibility of SQL injection due to missing validation
- Mass assignment in client endpoint
Other
- github.com/frappe/frappe/pull/40073
- github.com/frappe/frappe/pull/40700
- github.com/frappe/frappe/pull/40701
- github.com/frappe/frappe/commit/336c7d335db762b494acdfe43aea69d459fd51d7
- github.com/frappe/frappe/commit/d7460769f999c68d3121b680119f8724ddd3eb9d
- github.com/frappe/frappe/commit/eb9c1446cac13236c6d573b136786db2e46254fa
- github.com/frappe/frappe/releases/tag/v15.114.0
- github.com/frappe/frappe/releases/tag/v16.26.0
CVE / GHSA
- GHSA-x635-wr4c-7345 — GitHub
- GHSA-6w83-8777-v93q — GitHub
- GHSA-8pr6-r75h-h8xx — GitHub
- GHSA-rg9g-c26v-cw27 — GitHub
- CVE-2026-66001 — cve.org
- CVE-2026-66001 — NVD
- GHSA-c496-q7g2-62vv — GitHub
- CVE-2026-65822 — cve.org
- CVE-2026-65822 — NVD
- CVE-2026-62315 — cve.org
- CVE-2026-62315 — NVD
- CVE-2026-66002 — cve.org
- CVE-2026-66002 — NVD
- CVE-2026-63654 — cve.org
- CVE-2026-63654 — NVD