CVE-2026-72906

ERPNext: Unauthorised triggering of automated emails due to missing validation

Published Aug 10, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.111.0 and 16.22.0, the send_auto_email function in erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts.py lacks a Process Statement Of Accounts permission check, allowing an authenticated low-privilege user to trigger automated emails outside the permitted role. This issue is fixed in versions 15.111.0 and 16.22.0.

Analysis

AI-generated

Technical impact

The vulnerability resides in the send_auto_email method of the Process Statement Of Accounts module, where no permission check is performed before sending emails. An authenticated user with even minimal privileges can trigger this function, sending unsolicited or sensitive account statements to arbitrary recipients. This bypasses normal access controls (CWE‑862) and can lead to data exposure, spamming, or phishing of customers.

Affected Systems

The flaw affects ERPNext instances running the Frappe ERPNext platform with code versions older than 15.111.0 or 16.22.0. All releases prior to these specific tags, as referenced by the GitHub release notes and commits, are vulnerable. The issue was patched in the 15.111.0 and 16.22.0 releases.

Risk and Exploitability

With a CVSS score of 4.3 the severity is low to moderate, and no EPSS data is available, indicating a low probability of exploitation. The vulnerability is not listed in CISA’s KEV catalog, suggesting no confirmed widespread incidents. An attacker would need valid credentials for a user who has access to the Process Statement Of Accounts page, a capability often granted to low‑privilege accounts. The likely attack vector is internal or via compromised credentials, and the impact focuses on the integrity of business communications and potential data leakage.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ERPNext to version 15.111.0 or later, which includes the missing permission check.
  • If an immediate upgrade is not feasible, disable the automated email trigger for users lacking the appropriate permission until the patch can be applied.
  • Review and restrict roles that have access to the Process Statement Of Accounts feature to ensure only authorized users can invoke email sending.

Generated by OpenCVE AI on August 10, 2026 at 23:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Frappe
Frappe erpnext
Vendors & Products Frappe
Frappe erpnext
Type Values Removed Values Added
Description ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.111.0 and 16.22.0, the send_auto_email function in erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts.py lacks a Process Statement Of Accounts permission check, allowing an authenticated low-privilege user to trigger automated emails outside the permitted role. This issue is fixed in versions 15.111.0 and 16.22.0.
Title ERPNext: Unauthorised triggering of automated emails due to missing validation
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 11, 2026, 5:12 PM
Reserved
Aug 10, 2026, 5:57 PM
Status
Deferred
Published
Aug 10, 2026, 9:17 PM
Modified
Oct 24, 2026, 3:10 PM