Skip to main content

Frappe Framework CVE-2026-62315

| EUVDEUVD-2026-63539 HIGH
Improperly Controlled Modification of Dynamically-Determined Object Attributes (CWE-915)
2026-08-20 GitHub_M
7.1
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege Frappe user
  2. Delivery
    Craft API request with dict-typed fieldname payload
  3. Exploit
    POST to frappe.client.set_value endpoint
  4. Execution
    Type confusion bypasses forbidden-field guard
  5. Persist
    Mass-assign protected standard fields to document
  6. Impact
    Falsify ownership, timestamps, or system metadata

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V4 - API and Web Service Object attribute protection
Exploitation Conditions

Authentication as a low-privilege Frappe user is required (PR:L per CVSS 4.0 vector); unauthenticated exploitation is not possible. The frappe.client.set_value RPC endpoint must be reachable - this endpoint is enabled in default Frappe deployments and is part of the standard client API surface. The exploit is triggered by passing fieldname as a JSON dictionary object rather than a plain string field name, which is a valid alternate calling convention documented in the Frappe API. No special server-side configuration, feature flag, or non-default mode is required. Exploitation is limited by: (1) the authenticated user requirement; (2) any additional per-document or per-doctype permission checks that Frappe applies downstream of set_value; and (3) the specific fields present in frappe.model.default_fields and frappe.model.child_table_fields - the precise set of abusable protected fields depends on the Frappe version's model definitions, which are not fully enumerated in the advisory.

Impact

The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N reflects a realistic threat profile: network-reachable, low attack complexity, no special timing or conditions required, but gated behind authenticated low-privilege access (PR:L). The VI:H rating is appropriate - overwriting owner, modified_by, creation, or linked child-table fields can constitute privilege escalation, audit tampering, or document falsification depending on the application. No EPSS score was provided in the input data; KEV status is negative (not listed by CISA); no POC code is referenced. The absence of a released patch elevates urgency: organizations must apply the upstream commit manually or implement compensating controls. Real-world impact is partially bounded by the PR:L requirement - unauthenticated exploitation is not possible - and by application-level access controls that may separately protect certain fields. However, in ERPNext deployments with many low-trust portal or employee users, the authenticated bar is low. Overall, this is a genuine medium-to-high priority for Frappe-based production deployments despite the absence of confirmed active exploitation.

Exploit ScenarioDerived

An authenticated low-privilege Frappe user - such as a customer portal account or a limited employee role in an ERPNext deployment - sends a POST request to the frappe.client.set_value RPC endpoint with the fieldname parameter set to a JSON dictionary containing protected field names (e.g., {"owner": "Administrator", "creation": "2020-01-01"}). The server-side guard evaluates the dict object against the forbidden-fields list, finds no match, and proceeds to apply all supplied key-value pairs directly to the target document. The attacker successfully overwrites ownership or audit metadata, potentially escalating effective permissions or falsifying records without triggering the intended protection.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 20, 2026

Mass assignment of protected fields in Frappe Framework 16.31.0 and earlier allows authenticated low-privilege users to overwrite standard and child-table fields - including ownership, timestamps, and system metadata - via a type confusion bug in the frappe.client.set_value endpoint. When fieldname is passed as a JSON dictionary rather than a string, the pre-parse forbidden-field guard evaluates the dict object itself against the protected-field list (where it never matches), then parses the dict into individual assignments that bypass protection entirely. No released patched version is available at time of analysis; only an upstream commit and open PR exist. No public exploit identified at time of analysis.

RemediationAI

No released patched version is available as of this review. An upstream fix has been merged via commit 2a04fae9353c02f0a9ce9f40f92c1eba6765c77b (https://github.com/frappe/frappe/commit/2a04fae9353c02f0a9ce9f40f92c1eba6765c77b) and PR #38951 (https://github.com/frappe/frappe/pull/38951); administrators should apply this patch manually until a tagged release is available. Monitor the official advisory at https://github.com/frappe/frappe/security/advisories/GHSA-2c6h-wv85-fxvj for a versioned release. As a compensating control, restrict API access to frappe.client.set_value at the network or application layer so that only trusted internal roles can invoke it - this reduces but does not eliminate risk since the exploit requires authenticated access already. Additionally, audit application logs for set_value calls where the fieldname parameter is a JSON object (dict) rather than a string, as this is an anomalous call pattern that would indicate exploitation attempts.

Affected VersionsENISA

frappe ≤ 16.31.0

Affected Packages

euvd frappe no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

Frappe (CPE: cpe:2.3:a:frappe:frappe:*:*:*:*:*:*:*:*) is a Python full-stack web framework that underpins ERPNext and other business applications. The vulnerable function set_value in frappe/client.py accepts fieldname typed as str | dict[str, Any]. The original guard - if fieldname in (frappe.model.default_fields + frappe.model.child_table_fields) - performs a list membership test. When fieldname is a dict, Python evaluates whether the dict object itself is a member of the list, which always returns False, so the guard is silently skipped. The dict is then parsed into individual key-value pairs and applied to the document, writing to whichever protected fields were supplied. This is a textbook CWE-915 (Improperly Controlled Modification of Dynamically-Determined Object Attributes / Mass Assignment) flaw - user-controlled bulk field assignment reaches the ORM layer without per-field authorization checks. The fix, visible in PR #38951 commit 2a04fae, moves the forbidden-field check to iterate over each resolved key in the values dict after parsing, closing the type-confusion gap.

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 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 7.1 HIGH

Network-accessible RPC endpoint requires low-privilege authentication; no special conditions; high integrity impact from unguarded protected-field writes; minor confidentiality exposure from field value echoing.

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

DescriptionCVE.org

Frappe is a full-stack web application framework. In version 16.31.0 and earlier, frappe.client.set_value in frappe/client.py checks a dictionary supplied through the fieldname parameter against forbidden standard and child-table fields before parsing the dictionary into individual field names. An authenticated caller can exploit this type confusion to mass-assign protected fields through the client endpoint. No released fixed version is available as of this review.

Executive ViewAI

Why It Matters

Frappe Framework versions 16.31.0 and earlier contain a mass assignment vulnerability allowing authenticated users to overwrite protected fields including ownership, system timestamps, and metadata through a type confusion flaw. Organizations deploying Frappe-based applications risk unauthorized data modification, audit trail tampering, and potential privilege escalation. Immediate mitigation is required as no vendor patch is currently available.

Business Impact: High
Compensating Controls

Restrict frappe.client.set_value API access to system administrators via role-based controls; deploy input validation to reject non-string fieldname parameters; maintain comprehensive audit logging for all protected-field modification attempts; implement file integrity monitoring for system metadata fields (owner, modified, creation); and establish monitoring alerts for any unauthorized changes to child-table field assignments.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
base framework for ERPNext, widely used in SMB ERP deployments
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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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