Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain System Manager / import privilege
-
DeliveryCraft tar with traversal member paths
-
ExploitSubmit archive to Package Import
-
ExecutionMembers extracted outside target dir
-
PersistOverwrite executed module or hook
-
ImpactCode execution as Frappe service account
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 have access to the Frappe Package Import feature, which is an administrative/System Manager-level capability - reflected as PR:H in the CVSS vector - so this is not anonymously exploitable. The concrete prerequisite is the ability to submit a crafted tar archive to Package Import on a Frappe instance running a version prior to 15.112.0 or 16.23.0; the malicious archive must contain member names with traversal ('../') or absolute paths. Limiting factors: high privilege is mandatory (no PR:N), the target must expose/enable Package Import, and no user interaction from a victim is needed. Because the required privilege is high, realistic risk concentrates in environments with multiple or delegated administrators, or where an attacker can otherwise obtain an admin session. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H) scores 8.6 (High): network-reachable, low complexity, no user interaction, full confidentiality/integrity/availability impact on the vulnerable system - but it requires high privileges (PR:H). That PR:H is the decisive limiter: Package Import in Frappe is an administrative/System Manager-level operation, so this is a post-authentication, privileged-user RCE rather than an anonymous internet-facing bug. No EPSS score was provided and the CVE is not in CISA KEV, and no POC reference appears in the intelligence, so real-world exploitation signals are currently absent. Practically, this is a meaningful priority for multi-tenant or delegated-admin Frappe/ERPNext deployments (where a lower-trust admin could pivot to host code execution and break tenant isolation), but a lower priority where only fully trusted operators hold import rights. No SSVC decision data or EPSS was supplied - automatability and exploitation status cannot be independently derived and should be treated as unknown. |
| Exploit ScenarioDerived | A user holding Package Import (System Manager-level) rights on a shared or multi-tenant Frappe/ERPNext instance uploads a specially crafted package tarball whose member names contain path-traversal sequences. During extraction the malicious member is written outside the intended directory, overwriting a Python module or hook that Frappe subsequently loads, giving the attacker code execution as the Frappe service account. No public POC is referenced, and the attack requires the attacker to already possess the elevated import privilege. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 10, 2026
Arbitrary file write leading to remote code execution in the Frappe framework (versions prior to 15.112.0 and 16.23.0) allows a privileged user to abuse the Package Import feature, where tarfile members are extracted without adequate path validation (a TarSlip / path-traversal flaw, CWE-22). An attacker who can upload a crafted package tarball can write files outside the intended extraction directory to overwrite application files and achieve code execution as the Frappe service account. No public exploit identified at time of analysis, and the flaw is not listed in CISA KEV; the CVSS 4.0 base score is 8.6, reflecting high impact gated by a high-privilege prerequisite.
RemediationAI
Vendor-released patch: upgrade to Frappe 15.112.0 (15.x line) or 16.23.0 (16.x line), which add proper validation of tar member paths before extraction; ERPNext and other Frappe-based apps should be updated to bundle a fixed framework version. The fixes are delivered through pull requests https://github.com/frappe/frappe/pull/38716, /40044 and /40045 and commits 3c75f13f, 4772e3e7 and 57e527d9, per advisory GHSA-58w2-4cjg-hvp6. If immediate patching is not possible, restrict who holds the roles/permissions needed to invoke Package Import (limit System Manager and package-import rights to a minimal set of fully trusted operators), and treat package import as a privileged administrative action gated behind change control; the trade-off is reduced self-service for legitimate admins. As a further compensating control, avoid importing packages from untrusted or externally-sourced tarballs and inspect archive member paths before import - but note manual inspection is error-prone and is not a substitute for the patch.
Affected VersionsENISA
Affected Packages
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 full-stack web application framework and the foundation for ERPNext and many business applications. The vulnerability lives in the Package Import functionality, which unpacks user-supplied tar archives. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) here manifests as a classic 'TarSlip': when Python's tarfile module extracts members, entries may contain '../' sequences or absolute paths in their member names, and Frappe did not sufficiently sanitize these names against the extraction root before writing them. As a result, a malicious member can traverse outside the target directory and land on an arbitrary filesystem location (e.g. a Python module, hook, or config file that later gets executed), converting a file-write primitive into remote code execution. The affected component is identified by CPE cpe:2.3:a:frappe:frappe:*:*:*:*:*:*:*:*.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable import feature (AV:N/AC:L/UI:N) but requires admin-level import rights (PR:H); arbitrary file write yields full C/I/A on the host with no scope change.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Frappe is a full-stack web application framework. Prior to 16.23.0 and 15.112.0, TarSlip RCE was possible in Package Import because tarfile members were not sufficiently checked before extraction. This issue is fixed in versions 16.23.0 and 15.112.0.
Executive ViewAI
Frappe framework versions prior to 15.112.0 and 16.23.0 contain a critical file-write vulnerability in the package import feature that allows authenticated administrators to execute arbitrary code on Frappe servers. No public exploit has been identified, but the flaw creates a material insider-threat risk: a compromised or malicious admin account can fully compromise any affected Frappe installation.
Vendor-released patch: Frappe 15.112.0 and 16.23.0. Apply patch via upgrade. Pending upgrade, disable package import feature or restrict access to trusted administrators only and enable detailed logging of all package operations.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Stored cross-site scripting leading to code execution in Frappe Framework 15.89.0 (and the ERPNext application built on
An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS
An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS
An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS
An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS
Authenticated SQL injection in Frappe ERPNext through 15.89.0 allows low-privilege users to extract arbitrary database c
SQL injection in Frappe ERPNext through 15.89.0 lets an authenticated attacker with a valid session and access to the Pa
Authenticated server-side template injection in Frappe ERPNext through 15.89.0 lets a user who can create or modify an A
An SQL injection vulnerability exists in the frappe.desk.reportview.get functionality of ERPNext 11.1.38. Rated high sev
Arbitrary file read in the Frappe full-stack web application framework allows remote unauthenticated attackers to retrie
SQL injection in Frappe HelpDesk 1.14.0 dashboard functionality allows authenticated attackers to execute arbitrary SQL
In Frappe ERPNext 15.57.5, the function get_rfq_containing_supplier() at erpnext/buying/doctype/request_for_quotation/re
EUVD-2026-43107
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB