CVE-2023-54406 Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts
MediumCVSS 6.9
EPSS 0.32%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| frappe/frappe | < 14.59.0; >= 15.0.0, < 15.5.0 | 14.59.0, 15.5.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| frappe/frappe | < 14.59.0 | 14.59.0 |
| frappe/frappe | >= 15.0.0, < 15.5.0 | 15.5.0 |
References
- GitHub Security Advisory (GHSA-v3vh-7qx4-f582) vendor-advisory
- VulnCheck Advisory: Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts third-party-advisory
- ENISA EUVD EUVD-2023-60712 third-party-advisory