Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege Frappe user
-
DeliveryCraft API request with dict-typed fieldname payload
-
ExploitPOST to frappe.client.set_value endpoint
-
ExecutionType confusion bypasses forbidden-field guard
-
PersistMass-assign protected standard fields to document
-
ImpactFalsify 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 |
| 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 |
| 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
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
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.
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
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-63539
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB