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

CVE-2026-109665: Frappe ERPNext Auth Bypass Vulnerability

CVE-2026-109665 is an authorization bypass flaw in Frappe ERPNext allowing low-privileged users to deactivate master records beyond their permissions. This article covers technical details, affected versions, and mitigation.

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

CVE-2026-109665 is a missing authorization vulnerability in Frappe ERPNext, an open-source enterprise resource planning platform. Certain endpoints fail to enforce proper permission checks, allowing authenticated low-privileged users to deactivate master records. This modification of data falls outside the attacker's permitted role, breaking integrity controls expected from role-based access enforcement. The flaw is classified under CWE-862: Missing Authorization.

Critical Impact

Any authenticated low-privilege ERPNext user can deactivate master records through unprotected endpoints, disrupting business operations and tampering with reference data used across the ERP system.

Affected Products

  • Frappe ERPNext versions prior to 15.108.0
  • Frappe ERPNext 16.x versions prior to 16.18.0
  • Deployments exposing authenticated API endpoints to internal users

Discovery Timeline

  • 2026-10-12 - CVE-2026-109665 published to the National Vulnerability Database
  • 2026-10-12 - Last updated in NVD database

Technical Details for CVE-2026-109665

Vulnerability Analysis

Frappe ERPNext exposes a set of endpoints that operate on master records such as items, customers, suppliers, and accounts. The affected endpoints invoke record state changes without validating whether the calling user holds the required role permissions. An authenticated user with minimal privileges can therefore submit requests that deactivate these records, altering data visibility and workflow availability across the application.

The impact targets integrity rather than confidentiality or availability of the underlying data. Deactivating master records can halt downstream processes that depend on them, including transactions, reporting, and automation routines. Because the attacker only needs valid session credentials, insider misuse and compromised low-privilege accounts both represent realistic exploitation paths.

Root Cause

The root cause is the absence of permission checks on specific controller methods that mutate record status. Frappe's framework provides has_permission and role-based decorators, but the affected endpoints bypass or omit these guards. The missing enforcement contradicts the authorization model advertised to administrators who rely on ERPNext roles to constrain user actions.

Attack Vector

Exploitation requires an authenticated session with low privileges and network reachability to the ERPNext application. The attacker issues HTTP requests to the vulnerable endpoints to toggle the disabled or equivalent status field on master records. No user interaction, special tooling, or elevated privileges are required beyond a valid login. Refer to the GitHub Security Advisory GHSA-j57j-p235-x5mx and the VulnCheck Advisory on Frappe ERPNext for endpoint specifics.

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-109665

Indicators of Compromise

  • Unexpected changes to the disabled field on master records such as Item, Customer, Supplier, or Account documents.
  • Audit log entries showing low-privilege users modifying records their role does not normally permit.
  • Spikes in POST requests to Frappe RPC endpoints originating from standard user accounts.

Detection Strategies

  • Query the Frappe document change log for state transitions on master doctypes performed by non-administrative users.
  • Alert on API calls to the affected endpoints when the calling user lacks the corresponding write role.
  • Compare active record counts over time to detect anomalous bulk deactivations.

Monitoring Recommendations

  • Forward ERPNext application and audit logs to a centralized SIEM with user and role context.
  • Build dashboards tracking record-status mutations per user, per doctype, and per hour.
  • Enable alerting on repeated authorization-sensitive actions by accounts outside the finance or inventory admin roles.

How to Mitigate CVE-2026-109665

Immediate Actions Required

  • Upgrade Frappe ERPNext to 15.108.0 or later on the 15.x branch.
  • Upgrade Frappe ERPNext to 16.18.0 or later on the 16.x branch.
  • Review user role assignments and remove unused low-privilege accounts that could be abused for exploitation.
  • Audit recent changes to master records and restore any that were improperly deactivated.

Patch Information

The maintainers addressed the issue in Frappe ERPNext 15.108.0 and 16.18.0 by adding the missing permission checks to the affected endpoints. Patch details are documented in the GitHub Security Advisory GHSA-j57j-p235-x5mx.

Workarounds

  • Restrict network access to the ERPNext instance so only trusted internal users can reach authenticated endpoints.
  • Apply least-privilege role assignments and remove edit rights from users who do not need to manage master records.
  • Enable additional audit logging on master doctypes to detect unauthorized deactivations until patching is complete.
bash
# Upgrade Frappe ERPNext using bench to a patched release
bench get-app --branch version-15 erpnext
bench update --reset
bench --site your-site.local 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

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.