Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-109645 Overview
CVE-2026-109645 is a missing authorization vulnerability [CWE-862] in Frappe ERPNext, an open-source enterprise resource planning platform. Certain endpoints fail to enforce proper permission checks before processing requests. Authenticated users can send crafted requests to these endpoints and create or modify records outside the scope of their assigned role. The flaw bypasses role-based access control (RBAC) and allows horizontal privilege escalation within the application.
The issue affects Frappe ERPNext versions before 15.119.0 and 16.x versions before 16.31.0. Fixed releases enforce the required permission validation on the affected endpoints.
Critical Impact
Authenticated attackers with low privileges can create and modify ERPNext records beyond their permitted role, compromising data integrity across business modules.
Affected Products
- Frappe ERPNext versions prior to 15.119.0
- Frappe ERPNext 16.x versions prior to 16.31.0
- Deployments exposing authenticated ERPNext endpoints to internal or external users
Discovery Timeline
- 2026-10-12 - CVE-2026-109645 published to NVD
- 2026-10-12 - Last updated in NVD database
Technical Details for CVE-2026-109645
Vulnerability Analysis
Frappe ERPNext uses a role-based permission model to control which users can read, write, create, and submit specific document types. The vulnerability stems from endpoints that execute privileged operations without validating the caller's role or document-level permissions. An authenticated user who holds a low-privilege role can invoke these endpoints and perform actions reserved for higher-privileged roles.
The weakness is classified as CWE-862 (Missing Authorization). The impact is scoped to integrity: records can be created or modified, but the vulnerability does not directly expose confidential data or affect service availability per the published vector. In an ERPNext deployment, unauthorized record creation can corrupt financial, inventory, HR, or CRM data and enable downstream fraud or process manipulation.
Root Cause
The affected endpoints omit calls to Frappe's permission framework before writing changes. The server-side handlers do not verify has_permission for the target doctype or the acting user's role profile. Any authenticated session with API access can therefore reach code paths that assume authorization has already been checked by the caller.
Attack Vector
Exploitation requires network access to the ERPNext application and a valid authenticated session with low privileges (PR:L). No user interaction is required. An attacker sends HTTP requests to the vulnerable endpoints with crafted payloads targeting restricted doctypes. The server processes the request and persists the changes without enforcing role or ownership checks.
See the GitHub Security Advisory GHSA-m5xh-ghvj-xjrv and the VulnCheck Advisory for ERPNext for additional technical context.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-109645
Indicators of Compromise
- Unexpected POST or PUT requests to ERPNext REST or RPC endpoints from accounts that historically only perform read operations.
- Newly created or modified records (sales orders, journal entries, user permissions) whose owner field maps to a low-privilege account.
- Audit log entries where the acting user's role profile does not include write permission on the modified doctype.
Detection Strategies
- Correlate ERPNext application logs with the user's assigned role profile and flag writes to doctypes outside that profile.
- Enable Frappe's version tracking and document change log on sensitive doctypes to retain a per-field modification history.
- Alert on anomalous API usage patterns such as sudden spikes in frappe.client.insert or frappe.client.set_value calls from a single session.
Monitoring Recommendations
- Forward ERPNext web server logs and frappe application logs to a centralized SIEM for correlation with identity telemetry.
- Baseline normal endpoint usage per role and alert on deviations, particularly for finance, procurement, and user management doctypes.
- Review API token activity and rotate tokens for accounts that exhibit anomalous write behavior.
How to Mitigate CVE-2026-109645
Immediate Actions Required
- Upgrade Frappe ERPNext to 15.119.0 or later on the 15.x branch.
- Upgrade Frappe ERPNext to 16.31.0 or later on the 16.x branch.
- Audit records created or modified since the vulnerable version was deployed and reconcile against expected role activity.
- Rotate API keys and session tokens for any accounts suspected of abuse.
Patch Information
The maintainers fixed the issue in ERPNext 15.119.0 and 16.31.0 by adding the missing permission checks on the affected endpoints. Patch details are documented in the GitHub Security Advisory GHSA-m5xh-ghvj-xjrv. Deployments managed through Frappe Cloud or bench should run bench update against the fixed release tags.
Workarounds
- Restrict network access to the ERPNext instance so that only trusted users can authenticate while patching is scheduled.
- Reduce role assignments to the minimum required and remove API access from accounts that do not need programmatic use.
- Enable multi-factor authentication to raise the cost of credential compromise that would otherwise enable this vulnerability.
# Upgrade ERPNext using bench to a fixed release
bench switch-to-branch version-15 erpnext frappe --upgrade
bench update --reset
bench --site <site-name> migrate
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

