CVE-2023-54406
Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts
- State
- Published
- Severity
- 6.9 Medium
- Published
- Oct 12, 2026
- Updated
- Oct 15, 2026
- Reserved
- Oct 12, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | 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 | VulnCheck |
| 3.1 | 4.9 Medium | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N | VulnCheck |
Weaknesses
- CWE-372 Incomplete Internal State Distinction
Affected Products
| Product | Versions |
|---|---|
frappefrappe |
|
References
- GitHub Security Advisory (GHSA-v3vh-7qx4-f582)vendor-advisory
- VulnCheck Advisory: Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scriptsthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.