Skip to main content

Frappe Framework CVE-2026-48127

| EUVDEUVD-2026-43104 MEDIUM
Missing Authorization (CWE-862)
2026-07-10 GitHub_M
5.3
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid low-privilege Frappe user credentials
  2. Delivery
    Identify target DocType and document ID with read-only access
  3. Exploit
    Send crafted API request to add_attachments endpoint
  4. Execution
    Bypass write-permission authorization check
  5. Impact
    Attach 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.

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

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

Alert me

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

frappe < 15.110.0
frappe 16.0.0-beta.1, < 16.20.0

Affected Packages

euvd frappe fix: 15.110.0
euvd frappe_16_0_0_beta_1 fix: 16.20.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 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

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
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
vuln.today AI 4.3 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/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
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
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.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

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Medium
Popular open-source ERP framework, widely used but not universally deployed
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.4%
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
Yes
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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