{"id":"CVE-2023-54406","published":"2026-10-12T22:21:38Z","modified":"2026-10-15T14:03:30Z","title":"Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts","vendor":"frappe","product":"frappe","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00444,"percentile":0.30512,"provenance":"source"},"cwes":[{"id":"CWE-372","name":"Incomplete Internal State Distinction"}],"references":[{"url":"https://github.com/frappe/frappe/security/advisories/GHSA-v3vh-7qx4-f582","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/frappe-before-14.59.0-safe-execution-flag-bypass-in-server-scripts","tags":["third-party-advisory"]}],"priority":{"score":9.5,"factors":[{"name":"EPSS percentile","points":6.1},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"frappe","affectedVersions":[{"vendor":"frappe","product":"frappe","versions":["< 14.59.0",">= 15.0.0, < 15.5.0"]}],"fixedVersions":[{"vendor":"frappe","product":"frappe","versions":["14.59.0","15.5.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-15T14:03:05.698644Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-60712","exploited":false,"provenance":"source"}}