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.
Published: 2026-10-12
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Safe Execution flag bypass leads to arbitrary code execution
Action: Immediate Upgrade
AI Analysis

Impact

The vulnerability, classified as CWE-372, is a sandbox flaw that triggers when a server script executes another server script, causing the global flag frappe.flags.in_safe_exec to be set to False and disabling safe execution protections. Authenticated users with high privileges can deliberately construct a server script that initiates another script, such as by saving a document, thereby executing subsequent code outside the intended sandbox. This bypass can lead to arbitrary code execution or other privileged operations that violate confidentiality, integrity, and availability, as the code runs with elevated privileges without the expected restrictions.

Affected Systems

Affected are installations of the Frappe framework from any vendor identified as frappe, specifically versions prior to 14.59.0 and 15.x prior to 15.5.0. Users running these versions are exposed to the sandbox bypass flaw and must upgrade to a patched release.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity. EPSS score is not available, and the vulnerability is not listed in CISA KEV, suggesting a moderate likelihood of exploitation. The attack vector requires authenticated access with high privileges and depends on the ability to create or modify server scripts, which is typically restricted to administrators or power users. When these conditions are met, an attacker could chain script execution to remove safe execution constraints and run arbitrary code.

Generated by OpenCVE AI on October 13, 2026 at 01:06 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest Frappe release (≥14.59.0 and ≥15.5.0).
  • Remove or restrict the ability for high‑privileged users to create or alter server scripts that can trigger additional script executions, by reviewing role permissions or disabling the Server Script module for those users.
  • Review and refactor any existing server scripts that save or modify documents during execution to prevent cascading script calls, and deploy monitoring to alert on suspicious script chaining.

Generated by OpenCVE AI on October 13, 2026 at 01:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 15 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 12 Oct 2026 22:45:00 +0000

Type Values Removed Values Added
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.
Title Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts
First Time appeared Frappe
Frappe frappe
Weaknesses CWE-372
CPEs cpe:2.3:a:frappe:frappe:*:*:*:*:*:*:*:*
Vendors & Products Frappe
Frappe frappe
References
Metrics cvssV3_1

{'score': 4.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-15T14:03:30.211Z

Reserved: 2026-10-12T21:02:23.069Z

Link: CVE-2023-54406

cve-icon Vulnrichment

Updated: 2026-10-15T14:03:19.651Z

cve-icon NVD

Status : Deferred

Published: 2026-10-12T23:17:16.930

Modified: 2026-10-12T23:17:17.057

Link: CVE-2023-54406

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T04:30:17Z

Weaknesses
  • CWE-372

    Incomplete Internal State Distinction