Skip to main content

ERPNext CVE-2026-72907

| EUVDEUVD-2026-55829 MEDIUM
Improper Authorization (CWE-285)
2026-08-10 GitHub_M
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with any low-privilege ERPNext account
  2. Delivery
    Craft API call to add_ac endpoint with ignore_permissions parameter
  3. Exploit
    Bypass Account create permission enforcement
  4. Execution
    Insert unauthorized chart-of-accounts master record
  5. Impact
    Corrupt financial ledger integrity and audit trail

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid authenticated ERPNext user session at any privilege level - the lowest-privilege role is sufficient (PR:L). No special configuration, non-default feature enablement, or elevated access is needed beyond a working ERPNext installation with user accounts active. The add_ac function is reachable via ERPNext's standard Frappe API surface in default deployments. What limits exploitation: the attacker must possess valid ERPNext credentials (anonymous or external attackers cannot exploit this without first obtaining credentials through a separate attack); impact is bounded to integrity of Account master records only, with no confidentiality exposure (C:N) and no availability impact (A:N); and the attacker cannot escalate further within the system through this flaw alone.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N) yields a 6.5 Medium score, which underrepresents real-world business risk in financial environments. The I:H rating is the critical signal: an attacker can insert arbitrary Account master records into the chart of accounts, potentially enabling ghost accounts for financial fraud, distorting ledger balances, or corrupting audit trails used for regulatory compliance. For organizations subject to SOX, IFRS, or similar financial reporting standards, integrity compromise of accounting master data carries consequences far beyond a typical 6.5-rated vulnerability. The PR:L requirement - any valid authenticated session - is a meaningful but low barrier in enterprise ERP deployments where dozens to hundreds of staff hold accounts. No EPSS data was provided in the input; EPSS cannot be confirmed or cited. CISA KEV listing is not confirmed; active exploitation has not been reported. No public exploit code has been identified, though the vulnerability mechanics are fully disclosed via the public GitHub PR diff, lowering the bar for motivated threat actors with ERPNext knowledge. No conflicting signals exist between the CVSS vector and the described behavior.

Exploit ScenarioDerived

An authenticated ERPNext user assigned a non-accounting role - such as a sales representative or inventory clerk - crafts a network request to the add_ac API endpoint and includes the ignore_permissions parameter in the request body. The function strips the permission check and creates the attacker-specified Account master record in the chart of accounts without triggering any authorization error. The attacker can repeat this to introduce ghost accounts or manipulate account hierarchies, with no public exploit code required given the mechanics are fully described in the public PR diff.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 10, 2026

Improper authorization in ERPNext's account creation function allows any authenticated low-privilege user to bypass the Account doctype's create permission gate and insert unauthorized chart-of-accounts entries, directly corrupting financial data integrity and audit trails. All ERPNext releases prior to v15.111.0 (v15 branch) and v16.22.0 (v16 branch) are affected, as confirmed by vendor security advisory GHSA-94v6-784v-24q5 and the published PR diff. No public exploit code has been identified at time of analysis, and the vulnerability is not listed in CISA KEV.

RemediationAI

Upgrade ERPNext to v15.111.0 or later on the v15 branch, or to v16.22.0 or later on the v16 branch; patched releases are available at https://github.com/frappe/erpnext/releases/tag/v15.111.0 and https://github.com/frappe/erpnext/releases/tag/v16.22.0, with fixes delivered across commits 2d0e3fd9af521e407be35fd09e9427176609513f, 37d2adc74ba91f388194b3bbe07368c40573a9b2, and c0cf9aa1a7f95ee22b99ea1ca2a2cb09b314e67f. If immediate upgrade is not feasible, restrict the Accounts module role permissions in Frappe's Role Permission Manager to explicitly deny Account 'create' access for all non-finance roles - this forces the framework-level permission check that the function was bypassing. Note that tightening role permissions may break legitimate workflows for users who currently create accounts as a side effect of other permitted operations, so audit actual usage before applying blanket restrictions. Additionally, review existing Account master records for unauthorized entries introduced before patching, focusing on accounts created by non-accounting roles.

Affected VersionsENISA

ERPNext < 15.111.0
ERPNext 16.0.0, < 16.22.0

Affected Packages

euvd erpnext fix: 15.111.0, 16.22.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ERPNext is an open-source ERP platform built on the Frappe framework (CPE: cpe:2.3:a:frappe:erpnext:*:*:*:*:*:*:*:*). The Frappe document engine uses a flags.ignore_permissions mechanism - a developer-facing escape hatch - to bypass its role-based access control layer when performing privileged internal operations. The vulnerable add_ac function in erpnext/accounts/utils.py honored a caller-supplied ignore_permissions argument and propagated it directly into this flag without verifying that the requesting user held the Account 'create' permission. This is a textbook CWE-285 (Improper Authorization) failure: the authorization machinery exists and is correctly enforced elsewhere, but a trusted internal flag was inadvertently exposed through a user-reachable code path. The published fix in PR #55665 resolves this by stripping the argument unconditionally (args.pop('ignore_permissions', None)) and inserting an explicit permission assertion (frappe.has_permission('Account', 'create', throw=True)) before any document creation occurs.

Know when Erpnext gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
vuln.today AI 6.5 MEDIUM

Network-reachable API requiring only a low-privilege authenticated session; integrity impact is high due to unrestricted Account master record creation; no confidentiality or availability impact applies.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

1
Patch available
Aug 10, 2026 - 22:04 EUVD

DescriptionCVE.org

ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.111.0 and 16.22.0, the add_ac function in erpnext/accounts/utils.py accepts the ignore_permissions argument without enforcing Account create permission, allowing an authenticated limited user to create unauthorized accounting master records and affect financial data integrity and audit trails. This issue is fixed in versions 15.111.0 and 16.22.0.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Medium
open-source ERP adopted by SMBs globally, not universally deployed
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2025-67289 CRITICAL POC
9.6 Dec 22

Stored cross-site scripting leading to code execution in Frappe Framework 15.89.0 (and the ERPNext application built on

CVE-2018-3885 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3884 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3883 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3882 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2025-66440 HIGH POC
8.8 Dec 15

Authenticated SQL injection in Frappe ERPNext through 15.89.0 allows low-privilege users to extract arbitrary database c

CVE-2025-66439 HIGH POC
8.8 Dec 15

SQL injection in Frappe ERPNext through 15.89.0 lets an authenticated attacker with a valid session and access to the Pa

CVE-2025-66438 HIGH POC
8.8 Dec 15

Authenticated attackers with permission to create or modify Print Format documents in Frappe ERPNext through 15.89.0 can

CVE-2025-66437 HIGH POC
8.8 Dec 15

Authenticated server-side template injection in Frappe ERPNext through 15.89.0 lets a user who can create or modify an A

CVE-2025-66434 HIGH POC
8.8 Dec 15

Authenticated server-side template injection in Frappe ERPNext through 15.89.0 allows users with privileges to configure

CVE-2020-6145 HIGH POC
8.8 Aug 10

An SQL injection vulnerability exists in the frappe.desk.reportview.get functionality of ERPNext 11.1.38. Rated high sev

CVE-2023-54345 HIGH POC
8.7 May 05

Frappe Framework ERPNext 13.4.0 contains a sandbox escape vulnerability in RestrictedPython that allows authenticated us

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy