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
Share

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
Privileges Required
High
User Interaction
None
Scope
X

Lifecycle Timeline

2
Patch available
Jul 10, 2026 - 23:02 EUVD
Analysis Generated
Jul 10, 2026 - 22:21 vuln.today

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.

AnalysisAI

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.

Technical ContextAI

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.

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.

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-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

CVE-2025-52041 HIGH POC
8.2 Oct 01

In Frappe ERPNext 15.57.5, the function get_stock_balance_for() at erpnext/stock/doctype/stock_reconciliation/stock_reco

CVE-2025-52040 HIGH POC
8.2 Oct 01

In Frappe ERPNext 15.57.5, the function get_blanket_orders() at erpnext/controllers/queries.py is vulnerable to SQL Inje

CVE-2025-52039 HIGH POC
8.2 Oct 01

In Frappe ERPNext 15.57.5, the function get_material_requests_based_on_supplier() at erpnext/stock/doctype/material_requ

Share

CVE-2026-42219 vulnerability details – vuln.today

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