Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid low-privilege Frappe user credentials
-
DeliveryIdentify target DocType and document ID with read-only access
-
ExploitSend crafted API request to add_attachments endpoint
-
ExecutionBypass write-permission authorization check
-
ImpactAttach arbitrary file to restricted DocType record
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid, authenticated Frappe user session - the CVSS 4.0 PR:L metric confirms a low-privilege account suffices and unauthenticated access does not apply. The attacker must specifically target a DocType and document record for which they hold read but not write permission, as this is the exact permission gap the vulnerability exposes. The vulnerable surface is the file-handling API endpoint (add_attachments and equivalent routes), which must be reachable over the network (AV:N). No non-default configuration is required - the file attachment API is a standard Frappe capability enabled by default. Factors limiting exploitation: valid credentials are mandatory, ruling out unauthenticated external attackers; the impact is confined to attaching files (VI:L) with no direct exfiltration or denial-of-service path; and exploitability is bounded to deployments running an unpatched v15 or v16 Frappe instance where permission-segregated user roles are in use. |
| Impact | The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:L/UI:N scores this at 5.3 (Medium), consistently reflecting a network-reachable, low-complexity flaw exploitable by any authenticated user with no additional prerequisites. The integrity impact is scoped to VI:L with no confidentiality or availability component, meaning the vulnerability does not directly expose data or destabilize service. No EPSS score was provided, and the absence of a KEV listing and known POC further constrains real-world urgency. The source tag 'Authentication Bypass' somewhat overstates the issue - this is more precisely an authorization bypass within an authenticated session context, not a full authentication circumvention. Real-world risk is most significant in multi-tenant or role-segmented Frappe/ERPNext deployments where fine-grained DocType permissions are relied upon for access control integrity; single-user or internally-trusted deployments carry lower practical risk. No conflicting signals in the available data; the CVSS vector and description are mutually consistent. |
| Exploit ScenarioDerived | An authenticated Frappe user holding read-only access to a sensitive DocType - such as a payroll record or a confidential customer file in an ERPNext deployment - crafts a direct API call to the add_attachments endpoint, supplying the target DocType name and document ID along with a chosen file. Because the endpoint does not verify write permission before persisting the attachment, the file is recorded against the document despite the caller's insufficient privilege level. No public exploit code has been identified at time of analysis, but the straightforward HTTP API call requires no special tooling beyond a valid session token. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 10, 2026
Unauthorized file attachment in Frappe, a Python/JavaScript full-stack web framework, allows any authenticated low-privilege user to attach files to arbitrary doctypes through file-handling API endpoints such as add_attachments, bypassing per-document write permission enforcement. Affected are all Frappe v15 releases prior to 15.110.0 and all v16 releases prior to 16.20.0. No public exploit code has been identified at time of analysis and this vulnerability is not listed in the CISA KEV catalog, but the low attack complexity and network accessibility make exploitation straightforward for any valid account holder on a multi-tenant instance.
RemediationAI
Upgrade Frappe to version 16.20.0 or later on the v16 branch, or to version 15.110.0 or later on the v15 branch; these are vendor-confirmed patched releases per https://github.com/frappe/frappe/releases/tag/v16.20.0 and https://github.com/frappe/frappe/releases/tag/v15.110.0. The upstream fixes were delivered via pull requests #39407, #39550, and #39553 (https://github.com/frappe/frappe/pull/39407, /39550, /39553) and associated commits. If patching cannot be applied immediately, restrict network access to the file-attachment API endpoints (add_attachments and related file upload routes) for non-privileged users at the reverse proxy or WAF layer - note this will disable legitimate file attachment functionality for restricted users as a side effect. Do not rely on application-level role configuration alone as a compensating control, since the authorization check at the API layer is the gap being exploited.
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 metadata-driven, open-source full-stack web framework underpinning business applications such as ERPNext. Its core abstraction is the 'DocType' system, where each document type carries its own permission model (read, write, create, delete). CWE-862 (Missing Authorization) is the root cause: the file attachment API endpoints - including add_attachments - perform authentication checks to confirm the caller has a valid session but do not subsequently verify that the caller holds write-level permission on the target DocType record before persisting the attachment. The affected software is identified by CPE cpe:2.3:a:frappe:frappe:*:*:*:*:*:*:*:*, covering the entire Frappe package across all platforms prior to the patched versions.
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:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Network-accessible API requires a low-privilege authenticated session (PR:L); scope unchanged, integrity impact limited to unauthorized file attachment, no confidentiality or availability impact.
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.20.0 and 15.110.0, users without write access could attach files to any doctype through file-handling API endpoints such as add_attachments. This issue is fixed in versions 16.20.0 and 15.110.0.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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-43104
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB