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

CVE-2026-109601: Frappe Framework Path Traversal Vulnerability

CVE-2026-109601 is a path traversal flaw in Frappe Framework allowing attackers to read arbitrary server files through email HTML attributes. 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-109601 Overview

CVE-2026-109601 is an arbitrary file read vulnerability in the Frappe Framework affecting versions before 15.117.0 and 16.x before 16.30.0. The flaw resides in how the framework processes attributes within outgoing email HTML content. An authenticated attacker who can supply outgoing email content can set an attribute value referencing a local file path, causing the server to embed or expose sensitive files. The weakness is tracked under CWE-73: External Control of File Name or Path.

Critical Impact

Attackers with low privileges can exfiltrate sensitive server-side files, including configuration files and credentials, through crafted outgoing email HTML.

Affected Products

  • Frappe Framework versions prior to 15.117.0
  • Frappe Framework 16.x versions prior to 16.30.0
  • Downstream applications built on Frappe, including ERPNext deployments

Discovery Timeline

  • 2026-10-12 - CVE-2026-109601 published to NVD
  • 2026-10-14 - Last updated in NVD database

Technical Details for CVE-2026-109601

Vulnerability Analysis

The Frappe Framework renders outgoing email HTML by processing user-controlled attributes before dispatching messages. The framework does not sufficiently validate attribute values that reference file system paths. When the HTML rendering pipeline encounters an attribute pointing to a local resource, the server reads and inlines the file contents into the outgoing message. The attacker then receives the exfiltrated file as part of the delivered email body or attachment payload.

The attack is executed over the network against authenticated sessions. Because outgoing email composition is a standard Frappe feature exposed to many user roles, the required privilege level is low. The impact is confined to confidentiality, which is high; integrity and availability of the host are not directly affected.

Root Cause

The root cause is external control of a file name or path within the email HTML processor. The affected code paths accept attribute values without constraining them to safe URL schemes or sanitizing local filesystem references. This permits path traversal and absolute path references that resolve to sensitive files readable by the Frappe process account.

Attack Vector

An authenticated user with permission to send or draft outgoing email crafts HTML content containing an attribute value that references a local file path. When Frappe serializes the message for delivery, it dereferences the attribute, reads the targeted file, and includes the contents in the outgoing email. The attacker, acting as the recipient or using a controlled address, retrieves the leaked data. Common targets include site configuration files, private keys, and database credentials accessible to the Frappe service user. Refer to the GitHub Security Advisory GHSA-8v98-cfpm-9p67 for the technical disclosure.

Detection Methods for CVE-2026-109601

Indicators of Compromise

  • Outgoing emails originating from Frappe that contain unexpected file content, binary data, or configuration fragments in the body or inline resources.
  • Email composition records in the Communication doctype that reference attribute values with file://, absolute paths such as /etc/, or traversal sequences like ../.
  • Access log entries showing the Frappe service account reading sensitive files immediately before email dispatch events.

Detection Strategies

  • Inspect the Frappe Communication and Email Queue doctypes for HTML content containing suspicious attribute values that resolve to local paths.
  • Correlate outbound SMTP activity with file-system reads of configuration directories by the Frappe worker process.
  • Deploy content inspection on egress mail gateways to flag messages containing fragments of site_config.json, SSH keys, or /etc/passwd style content.

Monitoring Recommendations

  • Enable verbose audit logging on the Frappe email module and forward logs to a centralized analytics platform for anomaly review.
  • Monitor for authenticated users with low privileges generating outgoing email volumes that deviate from baseline behavior.
  • Alert on process-level file reads of sensitive paths by the Frappe application user outside of expected maintenance windows.

How to Mitigate CVE-2026-109601

Immediate Actions Required

  • Upgrade Frappe Framework to 15.117.0 or later on the 15.x branch, or to 16.30.0 or later on the 16.x branch.
  • Audit recent outgoing email records for attribute values referencing local file paths and investigate affected accounts.
  • Rotate any credentials, API tokens, and private keys stored in files readable by the Frappe service account if compromise is suspected.

Patch Information

The Frappe maintainers released fixed versions 15.117.0 and 16.30.0 that validate and sanitize attribute values in outgoing email HTML. Deployment details and the full fix description are published in the GitHub Security Advisory GHSA-8v98-cfpm-9p67 and the VulnCheck Frappe Framework Advisory.

Workarounds

  • Restrict the roles permitted to compose or send outgoing email until the patch is applied.
  • Place an egress mail content filter that strips HTML attributes referencing local file paths or non-HTTP schemes.
  • Run the Frappe service under a least-privilege account that cannot read sensitive host configuration files or private keys.
bash
# Upgrade Frappe Framework using bench
bench update --patch
bench switch-to-branch version-16 frappe --upgrade
bench setup requirements
bench migrate
bench restart

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.