CVE-2023-54406GHSA-v3vh-7qx4-f582
Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts
frappe frappe
CVSS
6.9MediumExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.32%Chance of exploitation activity in the next 30 days, higher than 23% of CVEs. Scored 23 Oct 2026FIRST EPSS
What fixes it
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
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.
Text from CVE List
Affected versions 4
- frappeaffected: all versions before 14.59.0CVE List
- frappeaffected: 15.0.0 before 15.5.0CVE List
- frappeunaffected: 14.59.0CVE List
- frappeunaffected: 15.5.0CVE List