CVE-2023-54406

published 12 Oct 2026 · updated 15 Oct 2026

Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts

4.9MediumCVSS 4.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 14.59.0 and 15.5.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
frappe<14.59.0, >=15.0.0 <15.5.014.59.0, 15.5.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-54406 severity on Zeptric[![CVE-2023-54406](https://zeptric.io/badge/cve/CVE-2023-54406.svg)](https://zeptric.io/cve/CVE-2023-54406)