CVE-2023-54406 PUBLISHED

Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts

Assigner: VulnCheck
Reserved: 12.10.2026 Published: 12.10.2026 Updated: 12.10.2026

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.

Metrics

CVSS 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
CVSS Score: 6.9

Product Status

Vendor frappe
Product frappe
Versions Default: unaffected
  • affected from 0 to 14.59.0 (excl.)
  • affected from 15.0.0 to 15.5.0 (excl.)
  • Version 14.59.0 is unaffected
  • Version 15.5.0 is unaffected

Credits

  • cogk reporter

References

Problem Types

  • Incomplete Internal State Distinction CWE