Vulnerability · Published Oct 12, 2026 · Assigned by VulnCheck
CVE-2023-54406Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts
Medium 4.9
In plain English
A medium-severity security flaw in frappe from frappe. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-372 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
References
- GitHub Security Advisory (GHSA-v3vh-7qx4-f582) vendor-advisory
- VulnCheck Advisory: Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts third-party-advisory