Skip to main content

Frappe Framework CVE-2026-42219

| EUVDEUVD-2026-43106 MEDIUM
Path Traversal (CWE-22)
2026-07-10 GitHub_M
6.9
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Obtain Frappe admin credentials
  2. Delivery
    Authenticate to Frappe desk interface
  3. Exploit
    Submit crafted download_backups request with traversal payload
  4. Execution
    Bypass absent path validation
  5. Impact
    Read arbitrary files from server filesystem

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

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

Exploitation Conditions

Exploitation requires the attacker to hold a Frappe administrator account (PR:H); standard or guest Frappe user roles are insufficient. The download_backups functionality must be reachable - it is part of the standard Frappe desk interface, so this is the default state for any Frappe installation. The endpoint is network-accessible (AV:N), meaning no local system access is needed once authenticated. Exploitation is limited by the high-privilege authentication prerequisite: an unauthenticated or low-privilege user cannot trigger this path traversal. There is no requirement for a specific non-default configuration to be enabled, but the admin role itself acts as the effective gating condition. Scope is limited to the Frappe application server's filesystem; the CVSS vector shows no scope change (SC:N/SI:N/SA:N), meaning impact is contained to the vulnerable system itself.

Impact

The CVSS 4.0 score of 6.9 with vector AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N reflects a real but constrained risk profile. The PR:H requirement - high-privilege authentication - is the primary limiting factor: a threat actor must already hold Frappe administrator credentials to reach the vulnerable endpoint, substantially narrowing the realistic attacker population. The VC:H (high confidentiality impact on the vulnerable system) is the sole material impact; integrity and availability are unaffected. This creates an unusual scenario where the theoretical blast radius (arbitrary file read on the server, potentially exposing database credentials, private keys, or other application secrets) is severe, yet the prerequisite access largely implies the attacker already has significant legitimate access. The vulnerability is not in the CISA KEV catalog and no public POC has been identified, indicating no confirmed in-the-wild exploitation. The primary real-world risk is insider threat or post-compromise lateral movement - an attacker who has compromised an admin account but not yet achieved OS-level access could use this to escalate by reading sensitive server files. Low EPSS probability is expected given the high-privilege requirement.

Exploit ScenarioDerived

An attacker who has obtained Frappe administrator credentials - whether through phishing, credential stuffing, or a prior compromise - authenticates to the Frappe desk and issues a crafted request to the download_backups endpoint using a path traversal sequence (e.g., filename=../../.env or filename=../../../etc/shadow) to retrieve files outside the backup directory. The server, lacking canonical path validation, resolves and returns the requested file, potentially exposing database credentials, secret keys, or OS-level sensitive files that enable further system compromise.

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

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

Alert me

AnalysisAIv1 – Jul 10, 2026

Path traversal via the download_backups endpoint in Frappe framework exposes arbitrary server-side files to authenticated high-privilege users. Affected versions span the entire v15 branch prior to 15.109.0 and the v16 branch prior to 16.19.0 (CPE: cpe:2.3:a:frappe:frappe:*). An attacker holding administrator-level credentials can craft a traversal payload in the backup download request to read files outside the intended backup directory, achieving high confidentiality impact with no integrity or availability consequence. No public exploit identified at time of analysis and this vulnerability is not listed in the CISA KEV catalog.

RemediationAI

Upgrade Frappe to version 16.19.0 (v16 branch) or 15.109.0 (v15 branch); these are the vendor-confirmed fixed releases per GitHub advisory GHSA-w4p4-fp9m-47gj (https://github.com/frappe/frappe/security/advisories/GHSA-w4p4-fp9m-47gj). For deployments using bench, run 'bench update --branch version-16' or the appropriate branch. If an immediate upgrade is not feasible, restrict access to the Frappe administrator role to only fully trusted internal users, and consider placing the Frappe desk behind VPN or IP allowlisting to reduce the network attack surface - noting that this compensating control does not eliminate the vulnerability, only raises the bar for reaching it. Operators on unsupported branches (v14 and earlier) should prioritize migration to a supported branch or apply the upstream patch commits manually: 4358f5bd449710027724a1679950d4ea65da6dcc, a470a1189132984635e2ec148f87de5232f5535d, and a562ef2a5a3885895b9f9cf14d5a53e32e52d326.

Affected VersionsENISA

frappe < 15.109.0
frappe 16.0.0-beta.1, < 16.19.0

Affected Packages

euvd frappe fix: 15.109.0
euvd frappe_16_0_0_beta_1 fix: 16.19.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

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

Technical ContextAI · show details

Frappe is a Python-based full-stack web application framework primarily known as the foundation for ERPNext and related FOSS business applications. The vulnerable component is the download_backups function, which handles file serving of database and file backups without sufficient path hardening - a classic CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) root cause. The absence of canonical path resolution or allowlist validation before file I/O allows sequences such as '../../../etc/passwd' or similar traversal strings to escape the intended backup storage directory. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H) confirms the endpoint is network-accessible with low attack complexity, but exploitation is gated behind high-privilege authentication, suggesting the download_backups feature is exposed within the authenticated Frappe desk (admin panel) rather than as a public-facing API. Three separate fix commits (4358f5b, a470a11, a562ef2) across multiple PRs (#38740, #39402, #39403) indicate the hardening was applied in stages across both maintained release branches.

Know when Frappe 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.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.9 MEDIUM

Network-accessible endpoint with low complexity, but PR:H required; confidentiality-only impact with no integrity or availability consequence and no scope change.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jul 10, 2026 - 23:02 EUVD

DescriptionCVE.org

Frappe is a full-stack web application framework. Prior to 16.19.0 and 15.109.0, path traversal via download_backups was possible due to lack of hardening. This issue is fixed in versions 16.19.0 and 15.109.0.

Threat Intelligence Overview

EPSS Score
0.5%
Top 63% exploitable
Prevalence
Medium
Popular open-source ERP framework, widely deployed in SMB and mid-market
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.5%
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

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Frappe

View all
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-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-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-2026-39352 HIGH POC
8.7 May 20

Arbitrary file read in the Frappe full-stack web application framework allows remote unauthenticated attackers to retrie

CVE-2025-10655 HIGH POC
8.6 Dec 09

SQL injection in Frappe HelpDesk 1.14.0 dashboard functionality allows authenticated attackers to execute arbitrary SQL

CVE-2025-52042 HIGH POC
8.2 Oct 01

In Frappe ERPNext 15.57.5, the function get_rfq_containing_supplier() at erpnext/buying/doctype/request_for_quotation/re

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