# CVE-2023-54406: Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-10-12T22:21:38.705Z
- Modified: 2026-10-15T15:17:16.553Z
- Weaknesses: CWE-372
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- frappe frappe: before 14.59.0; from 15.0.0 before 15.5.0 (not affected: 14.59.0; 15.5.0)

## Every score

- VulnCheck: CVSS: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: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/frappe/frappe/security/advisories/GHSA-v3vh-7qx4-f582> (vendor-advisory)
- <https://www.vulncheck.com/advisories/frappe-before-14.59.0-safe-execution-flag-bypass-in-server-scripts> (third-party-advisory)

## Sources

- CVE List: [CVE-2023-54406](https://www.cve.org/CVERecord?id=CVE-2023-54406), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2023-54406](https://nvd.nist.gov/vuln/detail/CVE-2023-54406), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2023-54406 · Whole record: https://cve.day/CVE-2023-54406.json · Rebuilt by cve.day 2026-11-25T22:58:35.515Z
