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

Read the record on cve.org

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

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NVulnCheck
3.14.9 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:NVulnCheck

Weaknesses

  • CWE-372 Incomplete Internal State Distinction

Affected Products

ProductVersions
frappefrappe
  • before 14.59.0Affected
  • 15.0.0 to before 15.5.0Affected
  • 14.59.0Not affected
  • 15.5.0Not affected

References

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.