{"id":"CVE-2023-54406","aliases":["CVE-2023-54406"],"related":[],"kind":"vulnerability","state":"published","title":"Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-10-12T22:21:38.705Z","modified":"2026-10-15T15:17:16.553Z","severity":{"scorer":"VulnCheck","scheme":"CVSS: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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS: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","score":6.9,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","score":4.9,"rating":"MEDIUM"}],"cwes":["CWE-372"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"14.59.0","status":"affected"},{"type":"semver","introduced":"15.0.0","fixed":"15.5.0","status":"affected"},{"type":"semver","version":"14.59.0","status":"unaffected"},{"type":"semver","version":"15.5.0","status":"unaffected"}],"vendor":"frappe","product":"frappe","source":"cvelist"}],"references":[{"url":"https://github.com/frappe/frappe/security/advisories/GHSA-v3vh-7qx4-f582","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/frappe-before-14.59.0-safe-execution-flag-bypass-in-server-scripts","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["cogk"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-15T14:03:05.698Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54406","url":"https://www.cve.org/CVERecord?id=CVE-2023-54406","licence":"CVE Terms of Use","modified":"2026-10-15T14:03:30.211Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54406","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54406","licence":"Public domain","modified":"2026-10-15T15:17:16.553Z"}],"updatedAt":"2026-11-25T22:58:35.515Z","epss":{"score":0.00315,"percentile":0.26364,"date":"2026-12-01T12:00:22.000Z"}}