Medium severity · published Oct 12, 2026
CVE-2023-54406
Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts
4.9
CVSS
0.3%
EPSS
No
On KEV
Description
Frappe before 14.59.0 and 15.x before 15.5.0 contains a sandbox flaw where the frappe.flags.in_safe_exec global flag can become False during Server Script execution when one server script triggers another. Authenticated high-privileged users can craft a Server Script that triggers other server scripts, such as by saving a document, so the remaining code runs without safe execution protections.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 24% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FR
frappe · frappe
before 14.59.0; 15.0.0 before 15.5.0 · source: vendor
Affected product
FR
frappe
frappe
More from frappe
9.8
CVE-2026-35614
Frappe has a SQL injection in bulk_update
9.8
CVE-2026-31877
Frappe SQL Injection due to improper field sanitization
9.8
CVE-2025-66205
Frappe is a full-stack web application framework
9.8
CVE-2019-14965
An issue was discovered in Frappe Framework 10 through 12 before 12.0.4
9.6
CVE-2025-67289
An arbitrary file upload vulnerability in the Attachments module of Frappe Framework v15.89.0 allows attackers to execute arbitrary code via uploading a crafted XML file