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

CVE-2026-109629: Frappe ERPNext Auth Bypass Vulnerability

CVE-2026-109629 is an authorization bypass flaw in Frappe ERPNext that lets authenticated users send unauthorized emails using the organization's identity. 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-109629 Overview

CVE-2026-109629 is a missing authorization vulnerability [CWE-862] in Frappe ERPNext. The flaw affects versions before 15.121.3 and 16.x before 16.35.0. An endpoint that sends transactional email through the site's configured outgoing account does not verify the caller's authorization. Any authenticated user can supply arbitrary recipient lists and message content, causing the server to send attacker-controlled messages using the organization's sending identity.

Critical Impact

Authenticated low-privilege users can abuse the organization's outgoing mail account to deliver attacker-crafted messages, enabling phishing, brand impersonation, and reputational damage to the sending domain.

Affected Products

  • Frappe ERPNext versions prior to 15.121.3
  • Frappe ERPNext 16.x versions prior to 16.35.0
  • Deployments using the site's configured outgoing email account

Discovery Timeline

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

Technical Details for CVE-2026-109629

Vulnerability Analysis

The vulnerability resides in a server endpoint that triggers transactional email dispatch through the site's configured outgoing mail account. The endpoint accepts recipient lists and message content as input but omits authorization enforcement. Because the handler does not verify whether the caller possesses the role or permission required to send mail on behalf of the organization, any authenticated session can invoke it.

An attacker needs only valid account credentials, including low-privilege roles, to reach the endpoint. Submitted payloads are forwarded to the SMTP configuration backing the site, so the resulting mail carries the organization's domain, display identity, and authentication records such as SPF, DKIM, and DMARC. Recipients see the message as legitimate correspondence from the business.

The outcome is a confidentiality- and integrity-impacting abuse path: the attacker does not read tenant data, but weaponizes trusted sending infrastructure to deliver phishing, fraud, or impersonation content externally.

Root Cause

The root cause is a missing authorization check [CWE-862] on the transactional email endpoint. The handler relies on authentication alone and does not evaluate the caller's role or permission context before accepting recipient and body parameters and dispatching mail.

Attack Vector

Exploitation is remote and requires a valid authenticated session with low privileges. The attacker issues an HTTP request to the vulnerable endpoint, supplies arbitrary recipients and message content, and the server relays the message through the configured outgoing account. No user interaction is required on the victim side of the server call.

No verified public exploit code is available. Refer to the GitHub Security Advisory GHSA-7j2w-hg27-8g3q and the VulnCheck Advisory on Frappe 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 Attacks

Detection Methods for CVE-2026-109629

Indicators of Compromise

  • Outbound mail from the ERPNext site addressed to recipients that do not match any existing customer, supplier, or contact record.
  • Spikes in SMTP relay volume from the ERPNext server outside of normal business process windows.
  • Bounce messages, spam complaints, or DMARC aggregate reports showing unusual recipient domains for the organization's sending identity.
  • Application logs showing calls to the transactional email endpoint by user accounts that have no legitimate email-sending workflow.

Detection Strategies

  • Audit ERPNext application logs for requests to the transactional email endpoint and correlate the calling user with their assigned role.
  • Compare message From, Reply-To, and body content against templates approved for the organization's business processes.
  • Alert on authenticated users issuing API calls that trigger mail delivery to recipient domains never previously contacted by the tenant.

Monitoring Recommendations

  • Forward ERPNext web and worker logs into a centralized SIEM or data lake and build detections for anomalous email-send request rates per user.
  • Monitor SMTP gateway telemetry for sudden increases in message volume originating from the ERPNext host.
  • Subscribe to DMARC and abuse feedback loops for the sending domain to catch impersonation campaigns early.

How to Mitigate CVE-2026-109629

Immediate Actions Required

  • Upgrade Frappe ERPNext to version 15.121.3 or later on the 15.x branch.
  • Upgrade Frappe ERPNext to version 16.35.0 or later on the 16.x branch.
  • Review recent outbound mail logs for unauthorized messages sent prior to patching and notify affected recipients where needed.
  • Rotate credentials for the configured outgoing email account if abuse is suspected.

Patch Information

The maintainers released fixed builds in Frappe ERPNext 15.121.3 and 16.35.0. The patched versions enforce an authorization check on the transactional email endpoint so that only users with the appropriate role can invoke it. See the GitHub Security Advisory GHSA-7j2w-hg27-8g3q for upgrade guidance.

Workarounds

  • Restrict network access to the ERPNext site so that only trusted users and systems can authenticate against the application.
  • Reduce the set of users with active accounts, and disable or lock accounts that do not require interactive access.
  • Apply SMTP relay quotas or recipient allowlists at the mail gateway to cap the blast radius of unauthorized sends.
  • Enforce strict DMARC policy (p=reject) on the sending domain to limit downstream phishing effectiveness.
bash
# Upgrade Frappe ERPNext to a patched release using the bench CLI
bench get-app --branch version-15 erpnext
bench update --reset
bench --site <your-site> migrate

# Verify the installed version is 15.121.3 or later (or 16.35.0+)
bench version | grep erpnext

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.