Skip to main content
Vulnerability Database/CVE-2026-109615

CVE-2026-109615: Frappe ERPNext Authorization Bypass Flaw

CVE-2026-109615 is an authorization bypass vulnerability in Frappe ERPNext that allows low-privileged users to create documents beyond their permitted roles. This post explains its impact, affected versions, and mitigation steps.

Published:

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-109615 Overview

CVE-2026-109615 is a missing authorization vulnerability [CWE-862] in Frappe ERPNext. The flaw affects versions before 15.121.0 and 16.x versions before 16.34.0. Certain document creation endpoints fail to enforce proper permission checks before accepting user input. Authenticated low-privileged users can invoke these endpoints to create documents against records outside their assigned role scope. The result is a bypass of role-based access control (RBAC) that undermines tenant and workflow boundaries within the ERP application.

Critical Impact

Authenticated low-privileged accounts can create documents beyond their permitted role, corrupting integrity of financial and operational records in ERPNext.

Affected Products

  • Frappe ERPNext versions before 15.121.0
  • Frappe ERPNext 16.x versions before 16.34.0
  • Deployments exposing authenticated REST endpoints to internal or external users

Discovery Timeline

  • 2026-10-12 - CVE-2026-109615 published to the National Vulnerability Database (NVD)
  • 2026-10-13 - Last updated in NVD database

Technical Details for CVE-2026-109615

Vulnerability Analysis

Frappe ERPNext exposes document-oriented endpoints that allow authenticated users to create records such as orders, invoices, items, and master data entries. The vulnerable endpoints omit server-side permission validation for the target DocType or record scope. An attacker holding any valid session can submit crafted document creation requests and persist records that their role should not permit.

The impact centers on integrity. An attacker cannot read restricted data through this flaw, but they can introduce fraudulent or unauthorized records. In an ERP context, this can corrupt accounting ledgers, inject supplier or customer entries, or alter inventory and procurement workflows. Downstream automation that trusts record provenance can propagate the attacker's data.

Root Cause

The root cause is a missing authorization check [CWE-862] in the document creation code path. The affected endpoints authenticate the caller but do not validate whether the caller's role grants create permission for the specified DocType or scoped record. Permission enforcement is skipped or incorrectly applied at the controller layer before frappe.get_doc().insert() executes.

Attack Vector

Exploitation requires network access to the ERPNext application and valid low-privileged credentials. No user interaction is needed. An attacker sends an authenticated HTTP request to the vulnerable endpoint with a payload specifying a DocType outside their role scope. The server processes the request and commits the document. Refer to the Frappe GitHub Security Advisory and the Vulncheck Advisory on Frappe ERPNext for endpoint-level technical details.

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 Attacks

Detection Methods for CVE-2026-109615

Indicators of Compromise

  • Document creation entries in tabDocType or audit logs attributed to users whose role profile does not include create permission for the target DocType.
  • Spikes in POST requests to /api/method/frappe.client.insert or /api/resource/<DocType> originating from accounts with limited role profiles.
  • Newly created master data records (Customer, Supplier, Item, Journal Entry) with unexpected owner fields.

Detection Strategies

  • Correlate web server access logs with ERPNext role assignments to flag create operations that violate the user's role matrix.
  • Enable Frappe's activity log and compare creation events against the user's permitted DocTypes.
  • Hunt for unusual API usage patterns from service or integration accounts that previously performed read-only operations.

Monitoring Recommendations

  • Forward Frappe application and Nginx access logs to a centralized SIEM for role-versus-action correlation.
  • Alert on first-time document creations by any user against sensitive DocTypes such as Journal Entry, Payment Entry, or Purchase Invoice.
  • Monitor the /api/resource/ and /api/method/ endpoints for sudden volume increases from low-privileged accounts.

How to Mitigate CVE-2026-109615

Immediate Actions Required

  • Upgrade Frappe ERPNext to 15.121.0 or later on the 15.x branch.
  • Upgrade Frappe ERPNext to 16.34.0 or later on the 16.x branch.
  • Audit all records created since the last known-good state and reconcile against expected role activity.
  • Rotate API keys and secrets for any accounts suspected of abusing the vulnerable endpoints.

Patch Information

Frappe addressed the issue in ERPNext 15.121.0 and 16.34.0. The fix adds server-side permission enforcement to the affected document creation endpoints. Patch details are published in the Frappe GitHub Security Advisory GHSA-vg6r-89q7-wh34.

Workarounds

  • Restrict network access to the ERPNext instance using VPN or IP allowlists until patching completes.
  • Review and tighten role permissions in Role Permissions Manager to minimize blast radius for low-privileged accounts.
  • Disable or throttle unused REST API endpoints at the reverse proxy layer.
  • Enforce multi-factor authentication (MFA) on all user accounts to raise the cost of credential compromise.
bash
# Upgrade ERPNext using bench
bench update --patch
bench --site <site-name> migrate
bench version | grep erpnext
# Confirm output shows 15.121.0 or later, or 16.34.0 or later

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.