{"id":"CVE-2023-54406","state":"PUBLISHED","title":"Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts","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.","publishedAt":"2026-10-12T22:21:38.705Z","updatedAt":"2026-10-15T14:03:30.211Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["frappe frappe"],"affected":[{"vendor":"frappe","product":"frappe","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"14.59.0","versionType":"semver"},{"version":"15.0.0","status":"affected","lessThan":"15.5.0","versionType":"semver"},{"version":"14.59.0","status":"unaffected","versionType":"semver"},{"version":"15.5.0","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/frappe/frappe/security/advisories/GHSA-v3vh-7qx4-f582","https://www.vulncheck.com/advisories/frappe-before-14.59.0-safe-execution-flag-bypass-in-server-scripts"],"weaknesses":["CWE-372"],"ingestedAt":"2026-10-29T20:06:42.242Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/54xxx/CVE-2023-54406.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-54406","state":"PUBLISHED","datePublished":"2026-10-12T22:21:38.705Z","dateUpdated":"2026-10-15T14:03:30.211Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-12T21:02:23.069Z"},"containers":{"cna":{"title":"Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"frappe","product":"frappe","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"14.59.0","versionType":"semver"},{"version":"15.0.0","status":"affected","lessThan":"15.5.0","versionType":"semver"},{"version":"14.59.0","status":"unaffected","versionType":"semver"},{"version":"15.5.0","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/frappe/frappe/security/advisories/GHSA-v3vh-7qx4-f582","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-v3vh-7qx4-f582)"},{"url":"https://www.vulncheck.com/advisories/frappe-before-14.59.0-safe-execution-flag-bypass-in-server-scripts","name":"VulnCheck Advisory: Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"HIGH","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":4.9,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-372","lang":"en","description":"Incomplete Internal State Distinction","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-12T22:21:38.705Z"},"datePublic":"2023-12-18T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:frappe:frappe:*:*:*:*:*:*:*:*","versionEndExcluding":"14.59.0"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:frappe:frappe:*:*:*:*:*:*:*:*","versionStartIncluding":"15.0.0","versionEndExcluding":"15.5.0"}]}]}],"credits":[{"lang":"en","value":"cogk","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-15T14:03:05.698644Z","id":"CVE-2023-54406","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-15T14:03:30.211Z"}}]}}}