Quick answers
- Is CVE-2023-54406 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2023-54406 being exploited in the wild.
- How severe is CVE-2023-54406?
- Medium severity, with a CVSS score of 4.9, published 12 October 2026.
- Which products and versions are affected?
- Frappe before 14.59.0; 15.x before 15.5.0.
- Is there a fix for CVE-2023-54406?
- Yes: fixed in Frappe 14.59.0, 15.5.0. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2023-54406 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2023-54406?
- Check whether you run Frappe at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- Fixed in: Frappe 14.59.0, 15.5.0
Technical details
The vulnerability is an incomplete state distinction flaw in which the frappe.flags.in_safe_exec global flag can become False during Server Script execution when one server script triggers another (e.g., via document save). Authenticated high-privileged users can craft a malicious Server Script that chains multiple scripts together, causing subsequent code to execute without safe execution protections. The attack requires network access and administrator privileges, with no user interaction needed.
Affected products
- Frappe Frappe before 14.59.0; 15.x before 15.5.0
Timeline
- 2023-12-18: disclosed