CVE-2023-54406
published medium CVSS 4.0 · 6.9Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| frappe | — | frappe0 to < 14.59.0 (affected · semver) · 15.0.0 to < 15.5.0 (affected · semver) · 14.59.0 (unaffected · semver) · 15.5.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.9 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| frappe | frappe | 0 to < 14.59.0 (affected · semver)15.0.0 to < 15.5.0 (affected · semver)14.59.0 (unaffected · semver)15.5.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-372 Incomplete Internal State Distinction
References
2- GitHub Security Advisory (GHSA-v3vh-7qx4-f582) https://github.com/frappe/frappe/security/advisories/GHSA-v3vh-7qx4-f582
- VulnCheck Advisory: Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts https://www.vulncheck.com/advisories/frappe-before-14.59.0-safe-execution-flag-bypass-in-server-scripts
Provider assertions
2VulnCheck · cna
Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ce8fb7c3cc9733661e67ace4bb1c39d89b126aaada512d8c6524b0c3fd082182
- Ingested
- 15 Oct 2026, 14:30:37 UTC
- Source record
- Official CVE record